flux.file
Class FileInfo

java.lang.Object
  extended by flux.file.FileInfo

public abstract class FileInfo
extends java.lang.Object

Contains information about a file. The file may exist on a local host, FTP, Secure FTP, or FTP-over-SSL host.

Author:
Copyright 2014 Flux Corporation. All rights reserved.

Field Summary
 java.lang.String filename
          The name of this file without path information.
 java.util.Date lastModified
          The date this file was last modified.
 java.lang.String parent
          System-dependant absolute path to parent of this file.
 boolean read
          Whether this file can be read.
 long size
          The size of this file, in bytes.
 java.net.URL url
          A URL to this file.
 boolean write
          Whether this file can be modified.
 
Constructor Summary
FileInfo()
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

read

public boolean read
Whether this file can be read.


write

public boolean write
Whether this file can be modified.


filename

public java.lang.String filename
The name of this file without path information.


lastModified

public java.util.Date lastModified
The date this file was last modified.


parent

public java.lang.String parent
System-dependant absolute path to parent of this file.


size

public long size
The size of this file, in bytes.


url

public java.net.URL url
A URL to this file.

Constructor Detail

FileInfo

public FileInfo()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


© 2014 Flux Corporation. All rights reserved.