Package org.apache.poi.hemf.record.emf
Class HemfComment.EmfCommentDataGeneric
- java.lang.Object
-
- org.apache.poi.hemf.record.emf.HemfComment.EmfCommentDataGeneric
-
- All Implemented Interfaces:
GenericRecord,HemfComment.EmfCommentData,HwmfCharsetAware
- Enclosing class:
- HemfComment
public static class HemfComment.EmfCommentDataGeneric extends java.lang.Object implements HemfComment.EmfCommentData, HwmfCharsetAware
Private data is unknown to EMF; it is meaningful only to applications that know the format of the data and how to use it. EMR_COMMENT private data records MAY be ignored.
-
-
Constructor Summary
Constructors Constructor Description EmfCommentDataGeneric()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HemfComment.HemfCommentRecordTypegetCommentRecordType()java.util.Map<java.lang.String,java.util.function.Supplier<?>>getGenericProperties()byte[]getPrivateData()java.lang.StringgetPrivateDataAsString()longinit(LittleEndianInputStream leis, long dataSize)voidsetCharsetProvider(java.util.function.Supplier<java.nio.charset.Charset> provider)java.lang.StringtoString()-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren
-
Methods inherited from interface org.apache.poi.hemf.record.emf.HemfComment.EmfCommentData
calcBounds, draw, getGenericRecordType
-
-
-
-
Method Detail
-
getCommentRecordType
public HemfComment.HemfCommentRecordType getCommentRecordType()
- Specified by:
getCommentRecordTypein interfaceHemfComment.EmfCommentData
-
init
public long init(LittleEndianInputStream leis, long dataSize) throws java.io.IOException
- Specified by:
initin interfaceHemfComment.EmfCommentData- Throws:
java.io.IOException
-
getPrivateData
public byte[] getPrivateData()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getPrivateDataAsString
public java.lang.String getPrivateDataAsString()
-
getGenericProperties
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
- Specified by:
getGenericPropertiesin interfaceGenericRecord
-
setCharsetProvider
public void setCharsetProvider(java.util.function.Supplier<java.nio.charset.Charset> provider)
- Specified by:
setCharsetProviderin interfaceHwmfCharsetAware
-
-