Class ArFileTree.ArArchiveEntryFileTreeElement
- java.lang.Object
-
- org.gradle.api.internal.file.AbstractFileTreeElement
-
- io.freefair.gradle.plugins.compress.tree.AbstractArchiveFileTreeElement
-
- io.freefair.gradle.plugins.compress.tree.ArFileTree.ArArchiveEntryFileTreeElement
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,FileTreeElement
,FileVisitDetails
- Enclosing class:
- ArFileTree
public class ArFileTree.ArArchiveEntryFileTreeElement extends AbstractArchiveFileTreeElement
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
E
getArchiveEntry()
Returns the archive entry for this element.IS
getArchiveInputStream()
String
getDisplayName()
protected String
getEntryName()
Returns unsafe name for the name of a file contained in the archive.int
getMode()
boolean
isClosed()
boolean
isInputStreamUsed()
InputStream
open()
-
Methods inherited from class io.freefair.gradle.plugins.compress.tree.AbstractArchiveFileTreeElement
getFile, getLastModified, getRelativePath, getSize, isDirectory, safeEntryName, stopVisiting
-
Methods inherited from class org.gradle.api.internal.file.AbstractFileTreeElement
copyTo, copyTo, getChmod, getName, getPath, getPermissions, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.gradle.api.file.FileTreeElement
copyTo, copyTo, getFile, getLastModified, getName, getPath, getPermissions, getRelativePath, getSize, isDirectory
-
Methods inherited from interface org.gradle.api.file.FileVisitDetails
stopVisiting
-
-
-
-
Method Detail
-
getMode
public int getMode()
- Specified by:
getMode
in interfaceFileTreeElement
- Overrides:
getMode
in classorg.gradle.api.internal.file.AbstractFileTreeElement
-
getEntryName
protected String getEntryName()
Description copied from class:AbstractArchiveFileTreeElement
Returns unsafe name for the name of a file contained in the archive.- Specified by:
getEntryName
in classAbstractArchiveFileTreeElement
- See Also:
AbstractArchiveFileTreeElement.safeEntryName()
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in classorg.gradle.api.internal.file.AbstractFileTreeElement
-
open
public InputStream open()
- Specified by:
open
in interfaceFileTreeElement
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
getArchiveInputStream
public IS getArchiveInputStream()
-
getArchiveEntry
public E getArchiveEntry()
Description copied from class:AbstractArchiveFileTreeElement
Returns the archive entry for this element.- Specified by:
getArchiveEntry
in classAbstractArchiveFileTreeElement
- Returns:
- the archive entry
-
isClosed
public boolean isClosed()
-
isInputStreamUsed
public boolean isInputStreamUsed()
-
-