Constructor and Description |
---|
URLFinder() |
Modifier and Type | Method and Description |
---|---|
URL |
findURL(String fileString)
Search for a file according the following priority:
The local file system
Specified as an URL (starting with http:, file:, ftp: or jar:
MaltParser distribution file (malt.jar)
MaltParser plugins
If the file string is found, an URL object is returned, otherwise null
|
URL |
findURLinJars(String fileString) |
public URLFinder()
public URL findURL(String fileString) throws MaltChainedException
fileString
- the file string to convert into an URL.MaltChainedException
public URL findURLinJars(String fileString) throws MaltChainedException
MaltChainedException
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.