APIdia Launch Partner
Top Fields Constructors Methods
com.sun.imageio.plugins.png

public Class PNGMetadata

extends IIOMetadata
implements Cloneable
Class Inheritance
All Implemented Interfaces
java.lang.Cloneable
Imports
java.awt.image.ColorModel, .IndexColorModel, .SampleModel, java.util.ArrayList, .StringTokenizer, .ListIterator, java.time.LocalDateTime, .OffsetDateTime, .ZoneId, .ZoneOffset, java.time.format.DateTimeFormatter, .DateTimeParseException, java.time.temporal.TemporalAccessor, javax.imageio.ImageTypeSpecifier, javax.imageio.metadata.IIOInvalidTreeException, .IIOMetadata, .IIOMetadataFormatImpl, .IIOMetadataNode, org.w3c.dom.Node

Field Summary

Modifier and TypeField and Description
public int
public int
public int
public int
public int
public boolean
public int
public int
public int
public int
public int
public boolean
public int
public int
public int
public int
pack-priv static final String[]
public int
public int
public int
public int
public ZoneOffset
public boolean
public int
public int
public int
public boolean
public char[]
public boolean
public byte[]
public int
pack-priv static final String[]
public boolean
public String
public int
pack-priv static final String[]
public int
pack-priv static final String[]
public int
pack-priv static final String[]
public int
pack-priv static final String[]
public int
public int
pack-priv static final String[]
pack-priv static final int[]
public boolean
public int
public ArrayList<Boolean>
public ArrayList<Integer>
public ArrayList<String>
public ArrayList<String>
public ArrayList<String>
public ArrayList<String>
protected static final String
public static final String
public int
public int
public boolean
public static final int
public static final int
public int
public byte[]
public byte[]
public int[]
public boolean
public byte[]
pack-priv static final String[]
public int
public int
public int
public int
public int
public boolean
public int
public int[]
public int[]
public int[]
public int[]
public String
public boolean
public int[]
public int
public boolean
public int
private ListIterator<String>
public boolean
public static final String
public ArrayList<String>
public ArrayList<String>
public int
public int
public int
public int
public boolean
public int
public int
public byte[]
public int
public int
public int
public int
public boolean
public int
pack-priv static final String[]
public ArrayList<byte[]>
public ArrayList<String>
public ArrayList<Integer>
pack-priv static final String[]
public ArrayList<String>
public ArrayList<String>
Inherited from javax.imageio.metadata.IIOMetadata:
controllerdefaultControllerextraMetadataFormatClassNamesextraMetadataFormatNamesstandardFormatSupported

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public Object
clone()

Overrides java.lang.Object.clone.

Creates and returns a copy of this object.

private ArrayList<byte[]>
pack-priv void
pack-priv void
private void
fatal(Node node, String reason)

public Node
getAsTree(String formatName)

Implements abstract javax.imageio.metadata.IIOMetadata.getAsTree.

Returns an XML DOM Node object that represents the root of a tree of metadata contained within this object according to the conventions defined by a given metadata format.

private String
getAttribute(Node node, String name, String defaultValue, boolean required)

private String
getAttribute(Node node, String name)

private boolean
getBooleanAttribute(Node node, String name, boolean defaultValue, boolean required)

private boolean
private String
private int
getEnumeratedAttribute(Node node, String name, String[] legalNames, int defaultValue, boolean required)

private int
getEnumeratedAttribute(Node node, String name, String[] legalNames)

private float
getFloatAttribute(Node node, String name, float defaultValue, boolean required)

private float
private int
getIntAttribute(Node node, String name, int defaultValue, boolean required)

private int
private Node
private int
public IIOMetadataNode
getStandardChromaNode()

Overrides javax.imageio.metadata.IIOMetadata.getStandardChromaNode.

Returns an IIOMetadataNode representing the chroma information of the standard javax_imageio_1.0 metadata format, or null if no such information is available.

public IIOMetadataNode
getStandardCompressionNode()

Overrides javax.imageio.metadata.IIOMetadata.getStandardCompressionNode.

Returns an IIOMetadataNode representing the compression information of the standard javax_imageio_1.0 metadata format, or null if no such information is available.

public IIOMetadataNode
getStandardDataNode()

Overrides javax.imageio.metadata.IIOMetadata.getStandardDataNode.

Returns an IIOMetadataNode representing the data format information of the standard javax_imageio_1.0 metadata format, or null if no such information is available.

public IIOMetadataNode
getStandardDimensionNode()

Overrides javax.imageio.metadata.IIOMetadata.getStandardDimensionNode.

Returns an IIOMetadataNode representing the dimension information of the standard javax_imageio_1.0 metadata format, or null if no such information is available.

public IIOMetadataNode
getStandardDocumentNode()

Overrides javax.imageio.metadata.IIOMetadata.getStandardDocumentNode.

Returns an IIOMetadataNode representing the document information of the standard javax_imageio_1.0 metadata format, or null if no such information is available.

public IIOMetadataNode
getStandardTextNode()

Overrides javax.imageio.metadata.IIOMetadata.getStandardTextNode.

Returns an IIOMetadataNode representing the textual information of the standard javax_imageio_1.0 metadata format, or null if no such information is available.

public IIOMetadataNode
getStandardTransparencyNode()

Overrides javax.imageio.metadata.IIOMetadata.getStandardTransparencyNode.

Returns an IIOMetadataNode representing the transparency information of the standard javax_imageio_1.0 metadata format, or null if no such information is available.

private String
getStringAttribute(Node node, String name, String defaultValue, boolean required)

pack-priv boolean
public void
initialize(ImageTypeSpecifier imageType, int numBands)

Sets the IHDR_bitDepth and IHDR_colorType variables.

pack-priv void
pack-priv void
initImageCreationTime(int year, int month, int day, int hour, int min, int second)

private boolean
isISOLatin(String s, boolean isLineFeedAllowed)

public boolean
isReadOnly()

Implements abstract javax.imageio.metadata.IIOMetadata.isReadOnly.

Returns true if this object does not support the mergeTree, setFromTree, and reset methods.

private boolean
private void
private void
public void
mergeTree(String formatName, Node root)

Implements abstract javax.imageio.metadata.IIOMetadata.mergeTree.

Alters the internal state of this IIOMetadata object from a tree of XML DOM Nodes whose syntax is defined by the given metadata format.

private OffsetDateTime
parseEncodedTime(String encodedTime)

private String
repeat(String s, int times)

public void
reset()

Implements abstract javax.imageio.metadata.IIOMetadata.reset.

Resets all the data stored in this object to default values, usually to the state this object was in immediately after construction, though the precise semantics are plug-in specific.

private void
private void
setEncodedTime(String encodedTime)

Inherited from javax.imageio.metadata.IIOMetadata:
activateControllergetControllergetDefaultControllergetExtraMetadataFormatNamesgetMetadataFormatgetMetadataFormatNamesgetNativeMetadataFormatNamegetStandardTileNodegetStandardTreehasControllerisStandardMetadataFormatSupportedsetControllersetFromTree

Field Detail

bKGD_blueback to summary
public int bKGD_blue
bKGD_colorTypeback to summary
public int bKGD_colorType
bKGD_grayback to summary
public int bKGD_gray
bKGD_greenback to summary
public int bKGD_green
bKGD_indexback to summary
public int bKGD_index
bKGD_presentback to summary
public boolean bKGD_present
bKGD_redback to summary
public int bKGD_red
cHRM_blueXback to summary
public int cHRM_blueX
cHRM_blueYback to summary
public int cHRM_blueY
cHRM_greenXback to summary
public int cHRM_greenX
cHRM_greenYback to summary
public int cHRM_greenY
cHRM_presentback to summary
public boolean cHRM_present
cHRM_redXback to summary
public int cHRM_redX
cHRM_redYback to summary
public int cHRM_redY
cHRM_whitePointXback to summary
public int cHRM_whitePointX
cHRM_whitePointYback to summary
public int cHRM_whitePointY
colorSpaceTypeNamesback to summary
pack-priv static final String[] colorSpaceTypeNames
creation_time_dayback to summary
public int creation_time_day
creation_time_hourback to summary
public int creation_time_hour
creation_time_minuteback to summary
public int creation_time_minute
creation_time_monthback to summary
public int creation_time_month
creation_time_offsetback to summary
public ZoneOffset creation_time_offset
creation_time_presentback to summary
public boolean creation_time_present
creation_time_secondback to summary
public int creation_time_second
creation_time_yearback to summary
public int creation_time_year
gAMA_gammaback to summary
public int gAMA_gamma
gAMA_presentback to summary
public boolean gAMA_present
hIST_histogramback to summary
public char[] hIST_histogram
hIST_presentback to summary
public boolean hIST_present
iCCP_compressedProfileback to summary
public byte[] iCCP_compressedProfile
iCCP_compressionMethodback to summary
public int iCCP_compressionMethod
iCCP_compressionMethodNamesback to summary
pack-priv static final String[] iCCP_compressionMethodNames
iCCP_presentback to summary
public boolean iCCP_present
iCCP_profileNameback to summary
public String iCCP_profileName
IHDR_bitDepthback to summary
public int IHDR_bitDepth
IHDR_bitDepthsback to summary
pack-priv static final String[] IHDR_bitDepths
IHDR_colorTypeback to summary
public int IHDR_colorType
IHDR_colorTypeNamesback to summary
pack-priv static final String[] IHDR_colorTypeNames
IHDR_compressionMethodback to summary
public int IHDR_compressionMethod
IHDR_compressionMethodNamesback to summary
pack-priv static final String[] IHDR_compressionMethodNames
IHDR_filterMethodback to summary
public int IHDR_filterMethod
IHDR_filterMethodNamesback to summary
pack-priv static final String[] IHDR_filterMethodNames
IHDR_heightback to summary
public int IHDR_height
IHDR_interlaceMethodback to summary
public int IHDR_interlaceMethod
IHDR_interlaceMethodNamesback to summary
pack-priv static final String[] IHDR_interlaceMethodNames
IHDR_numChannelsback to summary
pack-priv static final int[] IHDR_numChannels
IHDR_presentback to summary
public boolean IHDR_present
IHDR_widthback to summary
public int IHDR_width
iTXt_compressionFlagback to summary
public ArrayList<Boolean> iTXt_compressionFlag
iTXt_compressionMethodback to summary
public ArrayList<Integer> iTXt_compressionMethod
iTXt_keywordback to summary
public ArrayList<String> iTXt_keyword
iTXt_languageTagback to summary
public ArrayList<String> iTXt_languageTag
iTXt_textback to summary
public ArrayList<String> iTXt_text
iTXt_translatedKeywordback to summary
public ArrayList<String> iTXt_translatedKeyword
nativeMetadataFormatClassNameback to summary
protected static final String nativeMetadataFormatClassName

Hides javax.imageio.metadata.IIOMetadata.nativeMetadataFormatClassName.

nativeMetadataFormatNameback to summary
public static final String nativeMetadataFormatName

Hides javax.imageio.metadata.IIOMetadata.nativeMetadataFormatName.

pHYs_pixelsPerUnitXAxisback to summary
public int pHYs_pixelsPerUnitXAxis
pHYs_pixelsPerUnitYAxisback to summary
public int pHYs_pixelsPerUnitYAxis
pHYs_presentback to summary
public boolean pHYs_present
PHYS_UNIT_METERback to summary
public static final int PHYS_UNIT_METER
PHYS_UNIT_UNKNOWNback to summary
public static final int PHYS_UNIT_UNKNOWN
pHYs_unitSpecifierback to summary
public int pHYs_unitSpecifier
PLTE_blueback to summary
public byte[] PLTE_blue
PLTE_greenback to summary
public byte[] PLTE_green
PLTE_orderback to summary
public int[] PLTE_order
PLTE_presentback to summary
public boolean PLTE_present
PLTE_redback to summary
public byte[] PLTE_red
renderingIntentNamesback to summary
pack-priv static final String[] renderingIntentNames
sBIT_alphaBitsback to summary
public int sBIT_alphaBits
sBIT_blueBitsback to summary
public int sBIT_blueBits
sBIT_colorTypeback to summary
public int sBIT_colorType
sBIT_grayBitsback to summary
public int sBIT_grayBits
sBIT_greenBitsback to summary
public int sBIT_greenBits
sBIT_presentback to summary
public boolean sBIT_present
sBIT_redBitsback to summary
public int sBIT_redBits
sPLT_alphaback to summary
public int[] sPLT_alpha
sPLT_blueback to summary
public int[] sPLT_blue
sPLT_frequencyback to summary
public int[] sPLT_frequency
sPLT_greenback to summary
public int[] sPLT_green
sPLT_paletteNameback to summary
public String sPLT_paletteName
sPLT_presentback to summary
public boolean sPLT_present
sPLT_redback to summary
public int[] sPLT_red
sPLT_sampleDepthback to summary
public int sPLT_sampleDepth
sRGB_presentback to summary
public boolean sRGB_present
sRGB_renderingIntentback to summary
public int sRGB_renderingIntent
tEXt_creation_time_iterback to summary
private ListIterator<String> tEXt_creation_time_iter
tEXt_creation_time_presentback to summary
public boolean tEXt_creation_time_present
tEXt_creationTimeKeyback to summary
public static final String tEXt_creationTimeKey
tEXt_keywordback to summary
public ArrayList<String> tEXt_keyword
tEXt_textback to summary
public ArrayList<String> tEXt_text
tIME_dayback to summary
public int tIME_day
tIME_hourback to summary
public int tIME_hour
tIME_minuteback to summary
public int tIME_minute
tIME_monthback to summary
public int tIME_month
tIME_presentback to summary
public boolean tIME_present
tIME_secondback to summary
public int tIME_second
tIME_yearback to summary
public int tIME_year
tRNS_alphaback to summary
public byte[] tRNS_alpha
tRNS_blueback to summary
public int tRNS_blue
tRNS_colorTypeback to summary
public int tRNS_colorType
tRNS_grayback to summary
public int tRNS_gray
tRNS_greenback to summary
public int tRNS_green
tRNS_presentback to summary
public boolean tRNS_present
tRNS_redback to summary
public int tRNS_red
unitSpecifierNamesback to summary
pack-priv static final String[] unitSpecifierNames
unknownChunkDataback to summary
public ArrayList<byte[]> unknownChunkData
unknownChunkTypeback to summary
public ArrayList<String> unknownChunkType
zTXt_compressionMethodback to summary
public ArrayList<Integer> zTXt_compressionMethod
zTXt_compressionMethodNamesback to summary
pack-priv static final String[] zTXt_compressionMethodNames
zTXt_keywordback to summary
public ArrayList<String> zTXt_keyword
zTXt_textback to summary
public ArrayList<String> zTXt_text

Constructor Detail

PNGMetadataback to summary
public PNGMetadata()
PNGMetadataback to summary
public PNGMetadata(IIOMetadata metadata)

Method Detail

cloneback to summary
public Object clone()

Overrides java.lang.Object.clone.

Doc from java.lang.Object.clone.

Creates and returns a copy of this object. The precise meaning of "copy" may depend on the class of the object. The general intent is that, for any object x, the expression:

x.clone() != x
will be true, and that the expression:
x.clone().getClass() == x.getClass()
will be true, but these are not absolute requirements. While it is typically the case that:
x.clone().equals(x)
will be true, this is not an absolute requirement.

By convention, the returned object should be obtained by calling super.clone. If a class and all of its superclasses (except Object) obey this convention, it will be the case that x.clone().getClass() == x.getClass().

By convention, the object returned by this method should be independent of this object (which is being cloned). To achieve this independence, it may be necessary to modify one or more fields of the object returned by super.clone before returning it. Typically, this means copying any mutable objects that comprise the internal "deep structure" of the object being cloned and replacing the references to these objects with references to the copies. If a class contains only primitive fields or references to immutable objects, then it is usually the case that no fields in the object returned by super.clone need to be modified.

Annotations
@Override
cloneBytesArrayListback to summary
private ArrayList<byte[]> cloneBytesArrayList(ArrayList<byte[]> in)
decodeImageCreationTimeFromTextChunkback to summary
pack-priv void decodeImageCreationTimeFromTextChunk(ListIterator<String> iterChunk)
encodeImageCreationTimeToTextChunkback to summary
pack-priv void encodeImageCreationTimeToTextChunk()
fatalback to summary
private void fatal(Node node, String reason) throws IIOInvalidTreeException
getAsTreeback to summary
public Node getAsTree(String formatName)

Implements abstract javax.imageio.metadata.IIOMetadata.getAsTree.

Doc from javax.imageio.metadata.IIOMetadata.getAsTree.

Returns an XML DOM Node object that represents the root of a tree of metadata contained within this object according to the conventions defined by a given metadata format.

The names of the available metadata formats may be queried using the getMetadataFormatNames method.

Annotations
@Override
getAttributeback to summary
private String getAttribute(Node node, String name, String defaultValue, boolean required) throws IIOInvalidTreeException
getAttributeback to summary
private String getAttribute(Node node, String name) throws IIOInvalidTreeException
getBooleanAttributeback to summary
private boolean getBooleanAttribute(Node node, String name, boolean defaultValue, boolean required) throws IIOInvalidTreeException
getBooleanAttributeback to summary
private boolean getBooleanAttribute(Node node, String name) throws IIOInvalidTreeException
getEncodedTimeback to summary
private String getEncodedTime()
getEnumeratedAttributeback to summary
private int getEnumeratedAttribute(Node node, String name, String[] legalNames, int defaultValue, boolean required) throws IIOInvalidTreeException
getEnumeratedAttributeback to summary
private int getEnumeratedAttribute(Node node, String name, String[] legalNames) throws IIOInvalidTreeException
getFloatAttributeback to summary
private float getFloatAttribute(Node node, String name, float defaultValue, boolean required) throws IIOInvalidTreeException
getFloatAttributeback to summary
private float getFloatAttribute(Node node, String name) throws IIOInvalidTreeException
getIntAttributeback to summary
private int getIntAttribute(Node node, String name, int defaultValue, boolean required) throws IIOInvalidTreeException
getIntAttributeback to summary
private int getIntAttribute(Node node, String name) throws IIOInvalidTreeException
getNativeTreeback to summary
private Node getNativeTree()
getNumChannelsback to summary
private int getNumChannels()
getStandardChromaNodeback to summary
public IIOMetadataNode getStandardChromaNode()

Overrides javax.imageio.metadata.IIOMetadata.getStandardChromaNode.

Doc from javax.imageio.metadata.IIOMetadata.getStandardChromaNode.

Returns an IIOMetadataNode representing the chroma information of the standard javax_imageio_1.0 metadata format, or null if no such information is available. This method is intended to be called by the utility routine getStandardTree.

The default implementation returns null.

Subclasses should override this method to produce an appropriate subtree if they wish to support the standard metadata format.

Annotations
@Override
getStandardCompressionNodeback to summary
public IIOMetadataNode getStandardCompressionNode()

Overrides javax.imageio.metadata.IIOMetadata.getStandardCompressionNode.

Doc from javax.imageio.metadata.IIOMetadata.getStandardCompressionNode.

Returns an IIOMetadataNode representing the compression information of the standard javax_imageio_1.0 metadata format, or null if no such information is available. This method is intended to be called by the utility routine getStandardTree.

The default implementation returns null.

Subclasses should override this method to produce an appropriate subtree if they wish to support the standard metadata format.

Annotations
@Override
getStandardDataNodeback to summary
public IIOMetadataNode getStandardDataNode()

Overrides javax.imageio.metadata.IIOMetadata.getStandardDataNode.

Doc from javax.imageio.metadata.IIOMetadata.getStandardDataNode.

Returns an IIOMetadataNode representing the data format information of the standard javax_imageio_1.0 metadata format, or null if no such information is available. This method is intended to be called by the utility routine getStandardTree.

The default implementation returns null.

Subclasses should override this method to produce an appropriate subtree if they wish to support the standard metadata format.

Annotations
@Override
getStandardDimensionNodeback to summary
public IIOMetadataNode getStandardDimensionNode()

Overrides javax.imageio.metadata.IIOMetadata.getStandardDimensionNode.

Doc from javax.imageio.metadata.IIOMetadata.getStandardDimensionNode.

Returns an IIOMetadataNode representing the dimension information of the standard javax_imageio_1.0 metadata format, or null if no such information is available. This method is intended to be called by the utility routine getStandardTree.

The default implementation returns null.

Subclasses should override this method to produce an appropriate subtree if they wish to support the standard metadata format.

Annotations
@Override
getStandardDocumentNodeback to summary
public IIOMetadataNode getStandardDocumentNode()

Overrides javax.imageio.metadata.IIOMetadata.getStandardDocumentNode.

Doc from javax.imageio.metadata.IIOMetadata.getStandardDocumentNode.

Returns an IIOMetadataNode representing the document information of the standard javax_imageio_1.0 metadata format, or null if no such information is available. This method is intended to be called by the utility routine getStandardTree.

The default implementation returns null.

Subclasses should override this method to produce an appropriate subtree if they wish to support the standard metadata format.

Annotations
@Override
getStandardTextNodeback to summary
public IIOMetadataNode getStandardTextNode()

Overrides javax.imageio.metadata.IIOMetadata.getStandardTextNode.

Doc from javax.imageio.metadata.IIOMetadata.getStandardTextNode.

Returns an IIOMetadataNode representing the textual information of the standard javax_imageio_1.0 metadata format, or null if no such information is available. This method is intended to be called by the utility routine getStandardTree.

The default implementation returns null.

Subclasses should override this method to produce an appropriate subtree if they wish to support the standard metadata format.

Annotations
@Override
getStandardTransparencyNodeback to summary
public IIOMetadataNode getStandardTransparencyNode()

Overrides javax.imageio.metadata.IIOMetadata.getStandardTransparencyNode.

Doc from javax.imageio.metadata.IIOMetadata.getStandardTransparencyNode.

Returns an IIOMetadataNode representing the transparency information of the standard javax_imageio_1.0 metadata format, or null if no such information is available. This method is intended to be called by the utility routine getStandardTree.

The default implementation returns null.

Subclasses should override this method to produce an appropriate subtree if they wish to support the standard metadata format.

Annotations
@Override
getStringAttributeback to summary
private String getStringAttribute(Node node, String name, String defaultValue, boolean required) throws IIOInvalidTreeException
hasTransparentColorback to summary
pack-priv boolean hasTransparentColor()
initializeback to summary
public void initialize(ImageTypeSpecifier imageType, int numBands)

Sets the IHDR_bitDepth and IHDR_colorType variables. The numBands parameter is necessary since we may only be writing a subset of the image bands.

initImageCreationTimeback to summary
pack-priv void initImageCreationTime(OffsetDateTime offsetDateTime)
initImageCreationTimeback to summary
pack-priv void initImageCreationTime(int year, int month, int day, int hour, int min, int second)
isISOLatinback to summary
private boolean isISOLatin(String s, boolean isLineFeedAllowed)
isReadOnlyback to summary
public boolean isReadOnly()

Implements abstract javax.imageio.metadata.IIOMetadata.isReadOnly.

Doc from javax.imageio.metadata.IIOMetadata.isReadOnly.

Returns true if this object does not support the mergeTree, setFromTree, and reset methods.

Annotations
@Override
isValidKeywordback to summary
private boolean isValidKeyword(String s)
mergeNativeTreeback to summary
private void mergeNativeTree(Node root) throws IIOInvalidTreeException
mergeStandardTreeback to summary
private void mergeStandardTree(Node root) throws IIOInvalidTreeException
mergeTreeback to summary
public void mergeTree(String formatName, Node root) throws IIOInvalidTreeException

Implements abstract javax.imageio.metadata.IIOMetadata.mergeTree.

Doc from javax.imageio.metadata.IIOMetadata.mergeTree.

Alters the internal state of this IIOMetadata object from a tree of XML DOM Nodes whose syntax is defined by the given metadata format. The previous state is altered only as necessary to accommodate the nodes that are present in the given tree. If the tree structure or contents are invalid, an IIOInvalidTreeException will be thrown.

As the semantics of how a tree or subtree may be merged with another tree are completely format-specific, plug-in authors may implement this method in whatever manner is most appropriate for the format, including simply replacing all existing state with the contents of the given tree.

Annotations
@Override
Exceptions
IIOInvalidTreeException:
if the tree cannot be parsed successfully using the rules of the given format.
parseEncodedTimeback to summary
private OffsetDateTime parseEncodedTime(String encodedTime)
repeatback to summary
private String repeat(String s, int times)
resetback to summary
public void reset()

Implements abstract javax.imageio.metadata.IIOMetadata.reset.

Doc from javax.imageio.metadata.IIOMetadata.reset.

Resets all the data stored in this object to default values, usually to the state this object was in immediately after construction, though the precise semantics are plug-in specific. Note that there are many possible default values, depending on how the object was created.

Annotations
@Override
setCreationTimeChunkback to summary
private void setCreationTimeChunk(ListIterator<String> iter)
setEncodedTimeback to summary
private void setEncodedTime(String encodedTime)