Class TCZ.Entry

  • Enclosing class:
    TCZ

    public static class TCZ.Entry
    extends java.lang.Object
    An entry of the TCZ file.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      byte[] bytes
      The compressed byte block.
      java.lang.Object extra
      Anything you want to hold here.
      java.lang.String name
      The name of the entry.
      int uncompressedSize
      The size of the block when it is uncompressed.
    • Constructor Summary

      Constructors 
      Constructor Description
      Entry​(byte[] bytes, java.lang.String name, int uncompressedSize)  
      Entry​(byte[] bytes, java.lang.String name, int uncompressedSize, java.lang.Object extra)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()
      Returns a String representing this Entry.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • bytes

        public byte[] bytes
        The compressed byte block.
      • name

        public java.lang.String name
        The name of the entry.
      • uncompressedSize

        public int uncompressedSize
        The size of the block when it is uncompressed.
      • extra

        public java.lang.Object extra
        Anything you want to hold here.
    • Constructor Detail

      • Entry

        public Entry​(byte[] bytes,
                     java.lang.String name,
                     int uncompressedSize)
              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • Entry

        public Entry​(byte[] bytes,
                     java.lang.String name,
                     int uncompressedSize,
                     java.lang.Object extra)
              throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • toString

        public java.lang.String toString()
        Returns a String representing this Entry. Used in the Vector.qsort method
        Overrides:
        toString in class java.lang.Object