public class DG6File extends DataGroup
EF_COM_TAG, EF_DG1_TAG, EF_DG10_TAG, EF_DG11_TAG, EF_DG12_TAG, EF_DG13_TAG, EF_DG14_TAG, EF_DG15_TAG, EF_DG16_TAG, EF_DG2_TAG, EF_DG3_TAG, EF_DG4_TAG, EF_DG5_TAG, EF_DG6_TAG, EF_DG7_TAG, EF_DG8_TAG, EF_DG9_TAG, EF_SOD_TAG
Constructor and Description |
---|
DG6File(java.io.InputStream inputStream)
Constructs a new file from binary representation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
byte[] |
getEncoded()
Gets the contents of this file as byte array,
includes the ICAO tag and length.
|
java.util.List<DisplayedImageInfo> |
getImages()
Gets the image infos.
|
int |
hashCode() |
protected void |
readContent(java.io.InputStream in)
Reads the contents of the data group from an input stream.
|
java.lang.String |
toString()
Gets a textual representation of this file.
|
protected void |
writeContent(java.io.OutputStream out)
Writes the contents of the data group to an output stream.
|
getLength, getTag, readObject, writeObject
public DG6File(java.io.InputStream inputStream) throws java.io.IOException
inputStream
- an input streamjava.io.IOException
- on error reading input streamprotected void readContent(java.io.InputStream in) throws java.io.IOException
DataGroup
readContent
in class DataGroup
in
- the input stream to read fromjava.io.IOException
- on error reading from input streamprotected void writeContent(java.io.OutputStream out) throws java.io.IOException
DataGroup
writeContent
in class DataGroup
out
- the output stream to write tojava.io.IOException
- on error writing to output streampublic java.lang.String toString()
DataGroup
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.util.List<DisplayedImageInfo> getImages()
public byte[] getEncoded()
getEncoded
in interface LDSElement