public class FileInfo extends Object
Constructor and Description |
---|
FileInfo(File file)
This is the class constructor.
|
FileInfo(String name,
byte[] content)
This is the class constructor.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getContent()
This function returns the file content.
|
File |
getFile()
This function returns the file.
|
String |
getName()
This function returns the file name (no path).
|
public FileInfo(File file)
file
- The filepublic FileInfo(String name, byte[] content)
name
- The file name (no path)content
- The file contentpublic final File getFile()
public final String getName()
public final byte[] getContent()
Copyright © 2009–2020 fax4j. All rights reserved.