| Constructor and Description |
|---|
LocatorFile()
Create a LocatorFile
|
LocatorFile(String dir)
Create a LocatorFile that uses the argument as it's working directory
The working directory should be a UNIX style file name,
(relative or absolute), not a URI.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
exists(String fileIRI) |
String |
getName() |
String |
getThisDir() |
int |
hashCode() |
TypedInputStream |
open(String filenameIRI)
Open anything that looks a bit like a file name
|
String |
toFileName(String filenameIRI)
To a File, after processing the filename for file: or relative filename
|
public LocatorFile()
public LocatorFile(String dir)
public String toFileName(String filenameIRI)
public String getThisDir()
public boolean exists(String fileIRI)
public TypedInputStream open(String filenameIRI)
Licenced under the Apache License, Version 2.0