|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.osgi.framework.util.IOUtils
public final class IOUtils
A collection of IO utilities.
Method Summary | |
---|---|
static URL |
toURL(String urlstr)
Get a URL from the given string |
static URL |
toURL(VirtualFile file)
Get a URL from the given virtual file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static URL toURL(String urlstr)
IllegalArgumentException
- if the urlstr does not represent a valid URLpublic static URL toURL(VirtualFile file)
IllegalArgumentException
- if the file does not represent a valid URL
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |