/** * Return the length of the data. * @return The length of the data. * @throws IOException If an IO problem occurs * @see org.apache.commons.httpclient.methods.multipart.Part#lengthOfData() */ protected long lengthOfData() throws IOException { LOG.trace("enter lengthOfData()"); return getContent().length; }
/** * Writes the data to the given OutputStream. * @param out the OutputStream to write to * @throws IOException if there is a write error */ protected void sendData(OutputStream out) throws IOException { LOG.trace("enter sendData(OutputStream)"); out.write(getContent()); }
/** * Return the length of the data. * @return The length of the data. * @throws IOException If an IO problem occurs * @see org.apache.commons.httpclient.methods.multipart.Part#lengthOfData() */ protected long lengthOfData() throws IOException { LOG.trace("enter lengthOfData()"); return getContent().length; }
/** * Return the length of the data. * @return The length of the data. * @throws IOException If an IO problem occurs * @see org.apache.commons.httpclient.methods.multipart.Part#lengthOfData() */ protected long lengthOfData() throws IOException { LOG.trace("enter lengthOfData()"); return getContent().length; }
/** * Return the length of the data. * @return The length of the data. * @throws IOException If an IO problem occurs * @see org.apache.commons.httpclient.methods.multipart.Part#lengthOfData() */ protected long lengthOfData() throws IOException { LOG.trace("enter lengthOfData()"); return getContent().length; }
/** * Return the length of the data. * @return The length of the data. * @throws IOException If an IO problem occurs * @see org.apache.commons.httpclient.methods.multipart.Part#lengthOfData() */ protected long lengthOfData() throws IOException { LOG.trace("enter lengthOfData()"); return getContent().length; }
/** * Writes the data to the given OutputStream. * @param out the OutputStream to write to * @throws IOException if there is a write error */ protected void sendData(OutputStream out) throws IOException { LOG.trace("enter sendData(OutputStream)"); out.write(getContent()); }
/** * Writes the data to the given OutputStream. * @param out the OutputStream to write to * @throws IOException if there is a write error */ protected void sendData(OutputStream out) throws IOException { LOG.trace("enter sendData(OutputStream)"); out.write(getContent()); }
/** * Writes the data to the given OutputStream. * @param out the OutputStream to write to * @throws IOException if there is a write error */ protected void sendData(OutputStream out) throws IOException { LOG.trace("enter sendData(OutputStream)"); out.write(getContent()); }
/** * Writes the data to the given OutputStream. * @param out the OutputStream to write to * @throws IOException if there is a write error */ protected void sendData(OutputStream out) throws IOException { LOG.trace("enter sendData(OutputStream)"); out.write(getContent()); }