@Service
public class FileInfoExtractor
extends java.lang.Object
Constructor | Description |
---|---|
FileInfoExtractor() |
Modifier and Type | Method | Description |
---|---|---|
FileType |
getFileType(byte[] byteFile) |
|
java.util.List<java.lang.String[]> |
getSheetContents(byte[] uploadFile,
java.lang.String string) |
|
java.util.List<java.lang.String> |
getSheetNames(byte[] uploadFile,
FileType fileType) |
|
boolean |
hasSheets(FileType fileType) |
public java.util.List<java.lang.String> getSheetNames(byte[] uploadFile, FileType fileType) throws java.io.IOException
java.io.IOException
public java.util.List<java.lang.String[]> getSheetContents(byte[] uploadFile, java.lang.String string) throws java.io.IOException
java.io.IOException
public boolean hasSheets(FileType fileType)
public FileType getFileType(byte[] byteFile)