Class DG7File

    • Constructor Detail

      • DG7File

        public DG7File​(List<DisplayedImageInfo> images)
        Constructs a new file from a list of displayed images.
        Parameters:
        images - the displayed images, all of which should be of type Signature or mark
      • DG7File

        public DG7File​(InputStream inputStream)
                throws IOException
        Constructs a new file from binary representation.
        Parameters:
        inputStream - an input stream
        Throws:
        IOException - on error reading input stream
    • Method Detail

      • getEncoded

        public byte[] getEncoded()
        Returns the contents of this file as byte array, includes the ICAO tag and length.
        Specified by:
        getEncoded in interface LDSElement
        Returns:
        a byte array containing the file