Package org.goots.exploder.types
Class StandardFileType
- java.lang.Object
-
- org.goots.exploder.types.StandardFileType
-
-
Constructor Summary
Constructors Constructor Description StandardFileType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends InputStream>
TgetStream(File source)StringgetTypename()StringgetUncompressedFilename(File source)booleanisArchive()booleanisCompressed()StringtoString()
-
-
-
Method Detail
-
getStream
public <T extends InputStream> T getStream(File source) throws InternalException
- Specified by:
getStreamin interfaceFileType- Throws:
InternalException
-
getUncompressedFilename
public String getUncompressedFilename(File source)
- Specified by:
getUncompressedFilenamein interfaceFileType
-
isCompressed
public boolean isCompressed()
- Specified by:
isCompressedin interfaceFileType
-
getTypename
public String getTypename()
- Specified by:
getTypenamein interfaceFileType
-
-