Package org.codehaus.plexus.archiver.zip
Class AbstractZipUnArchiver.ZipEntryFileInfo
- java.lang.Object
-
- org.codehaus.plexus.archiver.zip.AbstractZipUnArchiver.ZipEntryFileInfo
-
- All Implemented Interfaces:
org.codehaus.plexus.components.io.fileselectors.FileInfo,org.codehaus.plexus.components.io.functions.ContentSupplier,org.codehaus.plexus.components.io.functions.NameSupplier,org.codehaus.plexus.components.io.functions.SizeSupplier,org.codehaus.plexus.components.io.resources.PlexusIoResource
- Enclosing class:
- AbstractZipUnArchiver
private static class AbstractZipUnArchiver.ZipEntryFileInfo extends java.lang.Object implements org.codehaus.plexus.components.io.resources.PlexusIoResource
-
-
Constructor Summary
Constructors Constructor Description ZipEntryFileInfo(org.apache.commons.compress.archivers.zip.ZipFile zipFile, org.apache.commons.compress.archivers.zip.ZipArchiveEntry zipEntry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStreamgetContents()longgetLastModified()java.lang.StringgetName()longgetSize()java.net.URLgetURL()booleanisDirectory()booleanisExisting()booleanisFile()booleanisSymbolicLink()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceorg.codehaus.plexus.components.io.fileselectors.FileInfo- Specified by:
getNamein interfaceorg.codehaus.plexus.components.io.functions.NameSupplier
-
isDirectory
public boolean isDirectory()
- Specified by:
isDirectoryin interfaceorg.codehaus.plexus.components.io.fileselectors.FileInfo- Specified by:
isDirectoryin interfaceorg.codehaus.plexus.components.io.resources.PlexusIoResource
-
isFile
public boolean isFile()
- Specified by:
isFilein interfaceorg.codehaus.plexus.components.io.fileselectors.FileInfo- Specified by:
isFilein interfaceorg.codehaus.plexus.components.io.resources.PlexusIoResource
-
isSymbolicLink
public boolean isSymbolicLink()
- Specified by:
isSymbolicLinkin interfaceorg.codehaus.plexus.components.io.fileselectors.FileInfo
-
getContents
@Nonnull public java.io.InputStream getContents() throws java.io.IOException- Specified by:
getContentsin interfaceorg.codehaus.plexus.components.io.functions.ContentSupplier- Specified by:
getContentsin interfaceorg.codehaus.plexus.components.io.fileselectors.FileInfo- Specified by:
getContentsin interfaceorg.codehaus.plexus.components.io.resources.PlexusIoResource- Throws:
java.io.IOException
-
getLastModified
public long getLastModified()
- Specified by:
getLastModifiedin interfaceorg.codehaus.plexus.components.io.resources.PlexusIoResource
-
getSize
public long getSize()
- Specified by:
getSizein interfaceorg.codehaus.plexus.components.io.resources.PlexusIoResource- Specified by:
getSizein interfaceorg.codehaus.plexus.components.io.functions.SizeSupplier
-
getURL
public java.net.URL getURL() throws java.io.IOException- Specified by:
getURLin interfaceorg.codehaus.plexus.components.io.resources.PlexusIoResource- Throws:
java.io.IOException
-
isExisting
public boolean isExisting()
- Specified by:
isExistingin interfaceorg.codehaus.plexus.components.io.resources.PlexusIoResource
-
-