Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Collections; import java.util.Map; import org.apache.http.entity.mime.MIME; import org.apache.http.entity.mime.content.AbstractContentBody; import org.apache.http.entity.mime.content.ContentBody; public class ByteBody extends AbstractContentBody implements ContentBody { private final byte[] mContent; public ByteBody(final byte[] content) { super("application/octet-stream"); if (content == null) { throw new IllegalArgumentException("File may not be null"); } this.mContent = content; } public InputStream getInputStream() throws IOException { return(new ByteArrayInputStream(mContent)); } public String getTransferEncoding() { return MIME.ENC_BINARY; } public String getCharset() { return null; } public String getMimeType() { return "application/octet-stream"; } public Map getContentTypeParameters() { return Collections.emptyMap(); } public String getMediaType() { return "application"; } public String getSubType() { return "octet-stream"; } public long getContentLength() { return this.mContent.length; } public String getFilename() { return("bytearray"); } @Override public void writeTo(OutputStream out) throws IOException { if (out == null) { throw new IllegalArgumentException("Output stream may not be null"); } out.write(mContent, 0, mContent.length); } }