Methods Summary |
---|
public java.io.InputStream | getInputStream()
if (file != null) {
try {
return new FileInputStream(file);
} catch (Exception ex) {
return null;
}
} else {
return is;
}
|
public long | getLength()
if (file != null) {
return file.length();
} else {
return 0; // ??
}
|
public java.lang.String | getName()
return name;
|
public long | getTime()
if (file != null) {
return file.lastModified();
} else {
return 0; // ??
}
|
public boolean | isMarkOnly()Accessors
return markOnly;
|
public java.lang.String | toString()
return file == null ? getName() : file.toString();
|