| Constructor and Description |
|---|
DefaultLocalFile(String name,
URI uri,
long lastModified,
long size,
boolean archive,
String pattern) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLastModified()
Returns the the last modified time of the file or
-1 if unknown. |
String |
getName() |
String |
getPattern() |
long |
getSize()
Returns the size of the file or
-1 if unknown. |
URI |
getURI() |
boolean |
isArchive()
Indicates whether this file is an archive.
|
String |
toString() |
public long getLastModified()
LocalFile-1 if unknown.getLastModified in interface LocalFilepublic long getSize()
LocalFile-1 if unknown.public boolean isArchive()
LocalFilepublic String getPattern()
getPattern in interface LocalFileCopyright © 2013-2020 The Apache Software Foundation. All rights reserved.