Class OutputBarcode.Source

java.lang.Object
overit.geocall.basic.ui.control.OutputBarcode.Source
All Implemented Interfaces:
Serializable, Source
Enclosing class:
OutputBarcode

public class OutputBarcode.Source extends Object implements Source
See Also:
  • Field Details

    • _img

      protected byte[] _img
    • _content

      protected String _content
    • _hash

      protected String _hash
    • _realWidth

      protected int _realWidth
    • _realHeight

      protected int _realHeight
  • Constructor Details

  • Method Details

    • getContentType

      public String getContentType()
      Description copied from interface: Source
      Returns the content type
      Specified by:
      getContentType in interface Source
      Returns:
      The content type
    • getLength

      public long getLength()
      Description copied from interface: Source
      Returns the content length
      Specified by:
      getLength in interface Source
      Returns:
      The content length in byte
    • output

      public void output(OutputStream os) throws IOException
      Description copied from interface: Source
      Write in the OutputStream
      Specified by:
      output in interface Source
      Parameters:
      os - The OutputStream
      Throws:
      IOException - if an I/O error occurs
    • getCompressible

      public boolean getCompressible()
      Description copied from interface: Source
      Returns true if the Source is compressible, false otherwise
      Specified by:
      getCompressible in interface Source
      Returns:
      true if the Source is compressible, false otherwise
    • getEntityTag

      public String getEntityTag()
      Description copied from interface: Source
      Returns the entity tag
      Specified by:
      getEntityTag in interface Source
      Returns:
      The entity tag
    • getRealWidth

      public int getRealWidth()
    • getRealHeight

      public int getRealHeight()