Package jmri.web.servlet.roster
Class FileMeta
- java.lang.Object
-
- jmri.web.servlet.roster.FileMeta
-
public class FileMeta extends java.lang.Object
object type for storing uploaded file data based on examples at http://hmkcode.com/java-servlet-jquery-file-upload/
-
-
Constructor Summary
Constructors Constructor Description FileMeta()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStream
getContent()
java.lang.String
getFileName()
boolean
getFileReplace()
java.lang.String
getFileSize()
java.lang.String
getFileType()
java.lang.String
getRosterGroup()
void
setContent(java.io.InputStream content)
void
setFileName(java.lang.String fileName)
void
setFileReplace(boolean fileReplace)
void
setFileSize(java.lang.String fileSize)
void
setFileType(java.lang.String fileType)
void
setRosterGroup(java.lang.String rosterGroup)
java.lang.String
toString()
-
-
-
Constructor Detail
-
FileMeta
public FileMeta()
-
-
Method Detail
-
getFileName
public java.lang.String getFileName()
-
setFileName
public void setFileName(java.lang.String fileName)
-
getFileSize
public java.lang.String getFileSize()
-
setFileSize
public void setFileSize(java.lang.String fileSize)
-
getFileType
public java.lang.String getFileType()
-
setFileType
public void setFileType(java.lang.String fileType)
-
getFileReplace
public boolean getFileReplace()
-
setFileReplace
public void setFileReplace(boolean fileReplace)
-
getContent
public java.io.InputStream getContent()
-
setContent
public void setContent(java.io.InputStream content)
-
getRosterGroup
public java.lang.String getRosterGroup()
-
setRosterGroup
public void setRosterGroup(java.lang.String rosterGroup)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-