package com.android.http.multipart;
public abstract class PartBase extends Part {
private String name;
private String contentType;
private String charSet;
private String transferEncoding;
public PartBase(String name, String contentType, String charSet, String transferEncoding) {
if (name == null) {
throw new IllegalArgumentException("Name must not be null");
}
this.name = name;
this.contentType = contentType;
this.charSet = charSet;
this.transferEncoding = transferEncoding;
}
@Override
return this.name;
}
@Override
return this.contentType;
}
@Override
return this.charSet;
}
@Override
return transferEncoding;
}
this.charSet = charSet;
}
this.contentType = contentType;
}
if (name == null) {
throw new IllegalArgumentException("Name must not be null");
}
this.name = name;
}
this.transferEncoding = transferEncoding;
}
}