org.springframework.batch.admin.service
Class FileInfo

java.lang.Object
  extended by org.springframework.batch.admin.service.FileInfo
All Implemented Interfaces:
Serializable, Comparable<FileInfo>

public class FileInfo
extends Object
implements Comparable<FileInfo>, Serializable

Author:
Dave Syer
See Also:
Serialized Form

Constructor Summary
FileInfo(String path)
           
FileInfo(String path, String timestamp, boolean local)
           
 
Method Summary
 int compareTo(FileInfo o)
           
 String getFileName()
           
 String getPath()
           
 String getPattern()
           
 String getTimestamp()
           
 boolean isLocal()
           
 FileInfo shortPath()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileInfo

public FileInfo(String path)

FileInfo

public FileInfo(String path,
                String timestamp,
                boolean local)
Method Detail

shortPath

public FileInfo shortPath()

getPattern

public String getPattern()

isLocal

public boolean isLocal()
Returns:
the local

getTimestamp

public String getTimestamp()
Returns:
the locator

getPath

public String getPath()

getFileName

public String getFileName()

compareTo

public int compareTo(FileInfo o)
Specified by:
compareTo in interface Comparable<FileInfo>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.