|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.groupdocs.viewer.handlers.DirectoryHandler
com.groupdocs.viewer.handlers.FileHandler
public class FileHandler
Provide functionality to work with configured files directory
Constructor Summary | |
---|---|
FileHandler(String path)
Constructor with files path parameters |
Method Summary | |
---|---|
File[] |
getAllFiles()
Get list of files from specified directory |
File |
getFileByName(String fileName)
Get file by name |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileHandler(String path) throws Exception
path
- Path to files
Exception
Method Detail |
---|
public File[] getAllFiles()
public File getFileByName(String fileName)
fileName
- Name of the file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |