org.datamanager.tools
Class UrlParser
java.lang.Object
|
+--org.datamanager.tools.UrlParser
- public class UrlParser
- extends Object
This class finds all isolated URLs within a string.
(An isolated URL is one that is preceded by a blank,
a newline, a tab, or a double quote.
- Author:
- Manoj Shanbhag
, gregory j. e. rawlins
Method Summary |
Vector |
getURLs(String string)
Find all isolated URLs in the given string
and return them in a Vector |
static void |
main(String[] parameters)
Test this class by passing it the name of a file to parse for URLs |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URL_DELIMITERS
public static final String URL_DELIMITERS
- See Also:
- Constant Field Values
UrlParser
public UrlParser()
getURLs
public Vector getURLs(String string)
- Find all isolated URLs in the given string
and return them in a Vector
main
public static void main(String[] parameters)
- Test this class by passing it the name of a file to parse for URLs
See the Helium Website