|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jet.servlet.internal.JetFileContextFactory
public class JetFileContextFactory
This class is the factory for JetFileUpload.
Constructor Summary | |
---|---|
JetFileContextFactory()
|
Method Summary | |
---|---|
static JetFileUploaded |
getFileContext(org.apache.commons.fileupload.FileItem file)
This Method (I hope so) returns a correct file object if a file was post in the form |
static JetFileUploaded |
getFileContext(java.io.InputStream is)
This Method (I hope so) returns a correct file object if a file was post in the form |
private static java.io.ByteArrayOutputStream |
readLine(java.io.InputStream is)
This method reads lines from the input stream |
private static java.lang.String |
removeQuotes(java.lang.String value)
This method removes quotes from the given string |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JetFileContextFactory()
Method Detail |
---|
public static JetFileUploaded getFileContext(java.io.InputStream is)
is
- the inputstream of the request
public static JetFileUploaded getFileContext(org.apache.commons.fileupload.FileItem file)
file
- the FileItem to use
private static java.lang.String removeQuotes(java.lang.String value)
value
- the string to dequote
private static java.io.ByteArrayOutputStream readLine(java.io.InputStream is) throws java.io.IOException
is
- the inputstream to read from
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |