Package com.univocity.test
Class AbstractFileLocator<T>
- java.lang.Object
-
- com.univocity.test.AbstractFileLocator<T>
-
- All Implemented Interfaces:
ResourceReader<T>
- Direct Known Subclasses:
FileLocator
,FilesystemResourceReader
abstract class AbstractFileLocator<T> extends java.lang.Object implements ResourceReader<T>
-
-
Field Summary
Fields Modifier and Type Field Description private static boolean
CASE_INSENSITIVE
private static boolean
CASE_SENSITIVE
-
Constructor Summary
Constructors Constructor Description AbstractFileLocator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
isCaseSensitive()
java.util.Set<java.lang.String>
listResourcesUnder(java.lang.String path)
protected abstract T
open(java.io.File file)
T
open(java.lang.String path)
-
-
-
Method Detail
-
open
public final T open(java.lang.String path)
- Specified by:
open
in interfaceResourceReader<T>
-
open
protected abstract T open(java.io.File file)
-
listResourcesUnder
public java.util.Set<java.lang.String> listResourcesUnder(java.lang.String path)
- Specified by:
listResourcesUnder
in interfaceResourceReader<T>
-
isCaseSensitive
public boolean isCaseSensitive()
- Specified by:
isCaseSensitive
in interfaceResourceReader<T>
-
-