this.name = name; this.data = data == null ? null : data.getBytes(); os = new ByteArrayOutputStream();
return CONTENT_TYPE;
if (os.size() != 0) { data = os.toByteArray(); } return new ByteArrayInputStream(data == null ? new byte[0] : data);
return name;
if (os.size() != 0) { data = os.toByteArray(); } return new ByteArrayOutputStream();