public class ChooseFileResult
extends java.lang.Object
implements java.io.Externalizable
Modifier and Type | Field and Description |
---|---|
java.lang.String[] |
selectedFiles
Array of selected files.
|
java.lang.String[] |
uploadedFiles
Array of uploaded files, may be
null . |
Constructor and Description |
---|
ChooseFileResult()
Default constructor.
|
ChooseFileResult(java.lang.String[] selectedFiles,
java.lang.String[] uploadedFiles)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
readExternal(java.io.ObjectInput in)
The object implements the readExternal method to restore its
contents by calling the methods of DataInput for primitive
types and readObject for objects, strings and arrays.
|
void |
writeExternal(java.io.ObjectOutput out)
The object implements the writeExternal method to save its contents
by calling the methods of DataOutput for its primitive values or
calling the writeObject method of ObjectOutput for objects, strings,
and arrays.
|
public java.lang.String[] selectedFiles
null
.public java.lang.String[] uploadedFiles
null
.public ChooseFileResult()
public ChooseFileResult(java.lang.String[] selectedFiles, java.lang.String[] uploadedFiles)
selectedFiles
- Selected files.uploadedFiles
- Uploaded files.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
out
- the stream to write the object tojava.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
in
- the stream to read data from in order to restore the objectjava.io.IOException
java.lang.ClassNotFoundException