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.HemfCommentRecordType
getCommentRecordType()
java.util.Map<java.lang.String,java.util.function.Supplier<?>>
getGenericProperties()
byte[]
getPrivateData()
java.lang.String
getPrivateDataAsString()
long
init(LittleEndianInputStream leis, long dataSize)
void
setCharsetProvider(java.util.function.Supplier<java.nio.charset.Charset> provider)
java.lang.String
toString()
-
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:
getCommentRecordType
in interfaceHemfComment.EmfCommentData
-
init
public long init(LittleEndianInputStream leis, long dataSize) throws java.io.IOException
- Specified by:
init
in interfaceHemfComment.EmfCommentData
- Throws:
java.io.IOException
-
getPrivateData
public byte[] getPrivateData()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getPrivateDataAsString
public java.lang.String getPrivateDataAsString()
-
getGenericProperties
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
- Specified by:
getGenericProperties
in interfaceGenericRecord
-
setCharsetProvider
public void setCharsetProvider(java.util.function.Supplier<java.nio.charset.Charset> provider)
- Specified by:
setCharsetProvider
in interfaceHwmfCharsetAware
-
-