- <init>
DefaultConstructor.
- copyStreams
Copies the InputStream into the OutputStream, until the end of the stream has
been reached.
- copyWriter
Copies the contents of the Reader into the Writer, until the end of the stream
has been reached.
- formatName
Transforms the name list back into a single string, separated with "/".
- getPath
Implements the JDK 1.3 method URL.getPath(). The path is defined as
URL.getFile() minus the (optiona
- getQuery
Implements the JDK 1.3 method URL.getPath(). The path is defined as
URL.getFile() minus the (optiona
- isFileStyleProtocol
Checks, whether the URL uses a file based protocol.
- isPath
Returns true if the URL represents a path, andfalse otherwise.
- parseName
Parses the given name and returns the name elements as List of Strings.
- startsWithUntil
Compares both name lists, and returns the last common index shared between the
two lists.
- createRelativeURL
Creates a relative url by stripping the common parts of the the url.
- getFileExtension
Returns the file extension of the given file name. The returned value will
contain the dot.