Class DefaultShader.CrcAndSize

  • Enclosing class:
    DefaultShader

    private static class DefaultShader.CrcAndSize
    extends java.lang.Object
    Data holder for CRC and Size.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.zip.CRC32 crc  
      private long size  
    • Constructor Summary

      Constructors 
      Constructor Description
      CrcAndSize​(java.io.InputStream inputStream)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void load​(java.io.InputStream inputStream)  
      void setupStoredEntry​(java.util.jar.JarEntry entry)  
      • Methods inherited from class java.lang.Object

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

      • crc

        private final java.util.zip.CRC32 crc
      • size

        private long size
    • Constructor Detail

      • CrcAndSize

        CrcAndSize​(java.io.InputStream inputStream)
            throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • load

        private void load​(java.io.InputStream inputStream)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • setupStoredEntry

        public void setupStoredEntry​(java.util.jar.JarEntry entry)