F O S U

F

FILE_PROTOCOL - Static variable in class org.ow2.util.url.URLUtils
File protocol.
fileToURL(File) - Static method in class org.ow2.util.url.URLUtils
Gets an URL from a given file.(throws only runtime exception).
fileToURL2(File) - Static method in class org.ow2.util.url.URLUtils
Gets an URL from a given file.

O

org.ow2.util.url - package org.ow2.util.url
 

S

shorterName(URL) - Static method in class org.ow2.util.url.URLUtils
For a given URL, make a shorter name.

U

urlToFile(URL) - Static method in class org.ow2.util.url.URLUtils
Gets a File object for the given URL.
urlToFile2(URL) - Static method in class org.ow2.util.url.URLUtils
Gets a File object for the given URL.
URLUtils - Class in org.ow2.util.url
This class is used to :
- get a File from an URL - get an URL from a file In fact, when there are spaces in a directory name, file.toURL() doesn't escape spaces into %20, this is why this class will help.
This class has to be used both for encoding and decoding URL.
There are methods with checked exceptions or unchecked exceptions.
URLUtilsException - Exception in org.ow2.util.url
The class URKUtilsException indicates conditions that a reasonable application might want to catch.
URLUtilsException() - Constructor for exception org.ow2.util.url.URLUtilsException
Constructs a new FileUtilsException with no detail message.
URLUtilsException(String) - Constructor for exception org.ow2.util.url.URLUtilsException
Constructs a new FileUtilsException with the specified message.
URLUtilsException(String, Throwable) - Constructor for exception org.ow2.util.url.URLUtilsException
Constructs a new FileUtilsException with the specified message and throwable.

F O S U

Copyright © 2007-2009 OW2 Consortium. All Rights Reserved.