protected class SourceHabitats.SourceHabitat_file extends SourceHabitats.SourceHabitat
Modifier and Type | Field and Description |
---|---|
protected File |
pathAsFile |
name, ok
Constructor and Description |
---|
SourceHabitat_file(String name) |
Modifier and Type | Method and Description |
---|---|
protected @Opt SourceHabitats.FoundSource |
test_idExt(String id,
boolean verbose,
String ext)
Finds the resource with the given name.
|
test_for_inputStream
protected File pathAsFile
public SourceHabitat_file(String name)
name
- must be according to the prefix rules described with the
SourceHabitats
class doc.@Opt protected @Opt SourceHabitats.FoundSource test_idExt(String id, boolean verbose, String ext)
SourceHabitats.SourceHabitat
test_idExt
in class SourceHabitats.SourceHabitat
id
- name of the resource (mostly the file name "stem")ext
- extension of the resource name / file name. The leading dot (=".") must be
included.see also the complete user documentation .