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 LocalFile
public long getSize()
LocalFile
-1
if unknown.public boolean isArchive()
LocalFile
public String getPattern()
getPattern
in interface LocalFile
Copyright © 2013-2020 The Apache Software Foundation. All rights reserved.