Class BinaryContentHandler


  • public class BinaryContentHandler
    extends DataContentHandler
    Implementation of DataContentHandler that handles MIME types handled as base64 encoded byte arrays.
    It also handle Streams, reading from the input stream on demand to avoid excessive memory load. This will usually be slower than reading the whole content of the stream to a byte array and using it as the Part content.
    Since:
    TotalCross 1.13
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void writeTo​(java.lang.Object obj, java.lang.String mimeType, Stream stream)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait