Interface JavaPath.FileWrapper

    • Method Detail

      • coversZip

        boolean coversZip()
        Returns whether the wrapped file is within a zip-archive. If this is the case, the file wrapped was created newly.
        Returns:
        a boolean value signifying whether the wrapped file is within a zip-archive.
      • getFile

        java.io.File getFile()
                      throws java.io.IOException
        Returns the file wrapped. If the wrapped file is within a zip-archive, it was created newly by this FileWrapper.
        Returns:
        the File wrapped.
        Throws:
        java.io.IOException - if an error occurs
      • getInputStream

        java.io.InputStream getInputStream()
                                    throws java.io.IOException
        Returns an input stream for the file wrapped.
        Returns:
        the InputStream of the file wrapped.
        Throws:
        java.io.IOException - if an error occurs