Package overit.geocall.basic.ui.control
Class OutputBarcode.Source
java.lang.Object
overit.geocall.basic.ui.control.OutputBarcode.Source
- All Implemented Interfaces:
Serializable,Source
- Enclosing class:
OutputBarcode
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrueif the Source is compressible,falseotherwiseReturns the content typeReturns the entity taglongReturns the content lengthintintvoidoutput(OutputStream os) Write in the OutputStream
-
Field Details
-
_img
protected byte[] _img -
_content
-
_hash
-
_realWidth
protected int _realWidth -
_realHeight
protected int _realHeight
-
-
Constructor Details
-
Source
-
-
Method Details
-
getContentType
Description copied from interface:SourceReturns the content type- Specified by:
getContentTypein interfaceSource- Returns:
- The content type
-
getLength
public long getLength()Description copied from interface:SourceReturns the content length -
output
Description copied from interface:SourceWrite in the OutputStream- Specified by:
outputin interfaceSource- Parameters:
os- The OutputStream- Throws:
IOException- if an I/O error occurs
-
getCompressible
public boolean getCompressible()Description copied from interface:SourceReturnstrueif the Source is compressible,falseotherwise- Specified by:
getCompressiblein interfaceSource- Returns:
trueif the Source is compressible,falseotherwise
-
getEntityTag
Description copied from interface:SourceReturns the entity tag- Specified by:
getEntityTagin interfaceSource- Returns:
- The entity tag
-
getRealWidth
public int getRealWidth() -
getRealHeight
public int getRealHeight()
-