Code example for ZipEntry

Methods: getTime

     * Returns the last modified time of this file. 
    protected long doGetLastModifiedTime() throws Exception 
        return entry.getTime();
     * Creates an input stream to read the file content from.  Is only called 
     * if  {@link #doGetType} returns {@link FileType#FILE}.  The input stream 
     * returned by this method is guaranteed to be closed before this 
     * method is called again. 
    protected InputStream doGetInputStream() throws Exception
        // VFS-210: zip allows to gather an input stream even from a directory and will 
        // return -1 on the first read. getType should not be expensive and keeps the tests 
        // running 
Contextual code suggestions in your IDE  Get Codota for Java