public class FileInfo
extends java.lang.Object
implements java.io.Serializable
This class makes it easy to obtain information about a file on one system and then transfer that information to another system.
Modifier and Type | Field and Description |
---|---|
long |
creation
Creation date and time.
|
java.lang.String |
fullname
Canonicalized absolute path name.
|
long |
modification
Last modification date and time.
|
java.lang.String |
name
File name as specified on input.
|
java.lang.String |
pathname
Absolute path if the input file name was specified in absolute terms or
the relative path name if the file was found via the PROPATH.
|
long |
size
File size in bytes.
|
java.lang.String |
type
File type codes.
|
Constructor and Description |
---|
FileInfo() |
public java.lang.String name
public java.lang.String pathname
public java.lang.String fullname
public long size
public java.lang.String type
public long modification
public long creation