public final class Utils extends java.lang.Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static java.util.jar.JarEntry |
getConfigFileEntry(java.util.jar.JarFile mcoJarFile,
java.lang.String mcoName,
java.lang.String fileName) |
static java.net.URL |
getConfigFileEntryURL(java.net.URL mcoURL,
java.lang.String mcoName,
java.lang.String fileName) |
static java.util.jar.JarFile |
getConfigJarfile(java.net.URL url) |
static java.io.InputStream |
getInputStreamFromConfigFileEntry(java.net.URL mcoURL,
java.lang.String mcoName,
java.lang.String fileName) |
static java.io.InputStreamReader |
getInputStreamReaderFromConfigFileEntry(java.net.URL mcoURL,
java.lang.String mcoName,
java.lang.String fileName,
java.lang.String charSet) |
static java.lang.String |
getInternalParserModelName(java.net.URL mcoUrl) |
static java.lang.String[] |
toStringArray(DependencyGraph graph,
DataFormatInstance dataFormatInstance,
SymbolTableHandler symbolTables) |
public Utils()
public static java.util.jar.JarFile getConfigJarfile(java.net.URL url)
public static java.util.jar.JarEntry getConfigFileEntry(java.util.jar.JarFile mcoJarFile, java.lang.String mcoName, java.lang.String fileName)
public static java.io.InputStream getInputStreamFromConfigFileEntry(java.net.URL mcoURL, java.lang.String mcoName, java.lang.String fileName)
public static java.io.InputStreamReader getInputStreamReaderFromConfigFileEntry(java.net.URL mcoURL, java.lang.String mcoName, java.lang.String fileName, java.lang.String charSet)
public static java.net.URL getConfigFileEntryURL(java.net.URL mcoURL, java.lang.String mcoName, java.lang.String fileName)
public static java.lang.String getInternalParserModelName(java.net.URL mcoUrl)
public static java.lang.String[] toStringArray(DependencyGraph graph, DataFormatInstance dataFormatInstance, SymbolTableHandler symbolTables) throws MaltChainedException
MaltChainedException
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.