public class OscarLoader extends Object
Modifier and Type | Field and Description |
---|---|
static String |
OSCAR_DOT_SUFFIX
the oscar file suffix including the dot
|
static String |
OSCAR_SUFFIX
The oscar file suffix excluding the dot
|
Constructor and Description |
---|
OscarLoader(File file) |
OscarLoader(InputStream stream) |
Modifier and Type | Method and Description |
---|---|
Map<String,Map<String,Map<String,String>>> |
getData() |
Map<String,Set<String>> |
getIgnoreFields() |
static boolean |
isOscar(File file) |
static Map<String,Set<String>> |
loadIgnoreData(InputStream stream) |
static Map<String,Map<String,Map<String,String>>> |
loadJsonData(InputStream stream) |
public static final String OSCAR_SUFFIX
public static final String OSCAR_DOT_SUFFIX
public OscarLoader(InputStream stream) throws Exception
Exception
public static Map<String,Set<String>> loadIgnoreData(InputStream stream) throws Exception
Exception
public static Map<String,Map<String,Map<String,String>>> loadJsonData(InputStream stream) throws Exception
Exception
public static boolean isOscar(File file)