Modifiers | Name | Description |
---|---|---|
static int |
COPY_BUFFER_SIZE |
|
static long |
READ_ALL |
Type Params | Return Type | Name and description |
---|---|---|
|
static void |
assertSimilar(java.lang.String expected, java.lang.String real, char wildcard) Compares two string for similarity, allows wildcard. |
|
static java.lang.String |
convertToHtml(java.lang.String str) |
|
static int |
copyFile(java.io.File source, java.io.File target, boolean overwrite) |
|
static java.io.File |
createTemporaryDirectory() |
|
static void |
deleteDirectoryOnExit(java.io.File directory) |
|
static java.lang.String |
ensureDir(java.lang.String dir, java.lang.String basedir) |
|
static java.lang.String |
ensureDir(java.lang.String outputDir) |
|
static java.lang.String |
ensureFileDir(java.lang.String file, java.lang.String basedir) |
|
static java.lang.String |
expandProperties(StringToStringMap values, java.lang.String content, boolean leaveMissing) |
|
static java.lang.String |
getContentTypeFromFilename(java.lang.String fileName) |
|
static java.lang.String |
getDir(java.lang.String filePath) |
|
static java.lang.String |
getEndpointFromUrl(java.net.URL baseUrl) |
|
static java.lang.String |
getExtensionForContentType(java.lang.String contentType) |
|
static java.lang.String |
getFileContent(java.lang.String path) |
|
static java.lang.String |
getFilename(java.lang.String filePath) |
|
static java.lang.String |
getTitleProperty(java.lang.String path) |
|
static boolean |
isEmpty(java.lang.String str) |
|
static boolean |
isPropertyExpansion(java.lang.String value) |
|
static boolean |
isSimilar(java.lang.String expected, java.lang.String real, char wildcard) |
|
static java.lang.String |
joinRelativeUrl(java.lang.String baseUrl, java.lang.String url) |
|
static void |
main(java.lang.String[] args) |
|
static java.lang.String |
modifyUrl(java.lang.String url, java.lang.Integer mods) |
|
static java.lang.String |
normalizeFileSeparators(java.lang.String input) |
|
static void |
openURL(java.lang.String url) |
|
static java.io.ByteArrayOutputStream |
readAll(java.io.InputStream instream, long maxSize) |
|
static void |
readAndWrite(java.io.InputStream instream, long maxSize, java.io.OutputStream outstream) |
|
static java.lang.String |
removePropertyExpansions(java.lang.String definitionUrl, java.lang.String definition) |
|
static java.lang.String |
replaceHost(java.lang.String endpoint, java.lang.String host) |
|
void |
run() |
|
static java.lang.String[] |
tokenizeArgs(java.lang.String args) |
|
static long |
writeAll(java.io.OutputStream out, java.io.InputStream in) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Compares two string for similarity, allows wildcard.