|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.n52.security.common.util.FileFinder
public class FileFinder
Class FileFinder is a helper class to encapsulate the typical finding of a file.
todo: maybe we can align the resource concept of spring to such tasks.
Constructor Summary | |
---|---|
FileFinder()
Constructor creates a new instance. |
|
FileFinder(java.lang.String fileName)
Constructor creates a new instance. |
Method Summary | |
---|---|
java.io.File |
getFile()
Method gets the file for a given file name. |
java.lang.String |
getFileName()
Method gets the fileName. |
java.io.InputStream |
getInputStream()
Method gets the inputStream for a given file name. |
void |
setFileName(java.lang.String fileName)
Method sets the fileName. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileFinder()
public FileFinder(java.lang.String fileName)
fileName
- the fileName.Method Detail |
---|
public java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
fileName
- the fileName.public java.io.InputStream getInputStream()
public java.io.File getFile()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |