public class IRILib extends Object
Constructor and Description |
---|
IRILib() |
Modifier and Type | Method and Description |
---|---|
static boolean |
containsNonASCII(String string) |
static String |
decode(String string) |
static String |
encodeFileURL(String string)
Encode using the rules for a file: URL.
|
static String |
encodeNonASCII(String string) |
static String |
encodeUriComponent(String string)
Encode using the rules for a component (e.g.
|
static String |
encodeUriPath(String uri)
Encode using the rules for a path (e.g.
|
static String |
filenameToIRI(String fn)
Create a string that is a IRI for the filename.
|
static String |
fileToIRI(File f)
Return a string that is an IRI for the filename.
|
static String |
IRIToFilename(String iri)
Convert a file: IRI to a filename
|
public static String filenameToIRI(String fn)
file:
.
public static String encodeUriComponent(String string)
public static String encodeFileURL(String string)
public static String encodeUriPath(String uri)
public static boolean containsNonASCII(String string)
Licenced under the Apache License, Version 2.0