net.trajano.twiff.sample.web
Class Upload
java.lang.Object
net.trajano.twiff.sample.web.Upload
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- Upload_done
public class Upload
- extends Object
- implements Serializable
Sample with upload
- Author:
- Archimedes Trajano
- See Also:
- Serialized Form
Upload
public Upload()
throws IOException
- Throws:
IOException
getFile
public final byte[] getFile()
- Returns:
- file
getName
public final String getName()
- Returns:
- the name
setFile
public final void setFile(byte[] file)
- Parameters:
file
- the file
setName
public final void setName(String name)
- Parameters:
name
- the name
upload
public final String upload()
- Upload action
- Returns:
- upload_done
toString
public String toString()
- Overrides:
toString
in class Object
- See Also:
Object.toString()
Copyright © 2004-2005 trajano.net. All Rights Reserved.