| java.lang.Object de.anomic.yacy.yacyURL
yacyURL | public class yacyURL (Code) | | |
domDomain | final public static int domDomain(String urlHash)(Code) | | |
domLengthEstimation | final public static int domLengthEstimation(String urlHash)(Code) | | |
domLengthNormalized | public static int domLengthNormalized(String urlHash)(Code) | | |
escape | public static String escape(String s)(Code) | | Encode a string to the "x-www-form-urlencoded" form, enhanced
with the UTF-8-in-URL proposal. This is what happens:
- The ASCII characters 'a' through 'z', 'A' through 'Z',
and '0' through '9' remain the same.
- The unreserved characters - _ . ! ~ * ' ( ) remain the same.
- All other ASCII characters are converted into the
3-character string "%xy", where xy is
the two-digit hexadecimal representation of the character
code
- All non-ASCII characters are encoded in two steps: first
to a sequence of 2 or 3 bytes, using the UTF-8 algorithm;
secondly each of these bytes is encoded as "%xx".
Parameters: s - The string to be encoded The encoded string |
flagLengthID | final public static int flagLengthID(String hash)(Code) | | |
flagTLDID | final public static int flagTLDID(String hash)(Code) | | |
flagTypeID | final public static int flagTypeID(String hash)(Code) | | |
getFile | public String getFile(boolean includeReference)(Code) | | |
getPort | public int getPort()(Code) | | |
hashCode | public int hashCode()(Code) | | |
isCGI | public boolean isCGI()(Code) | | |
isGlobalDomain | public static boolean isGlobalDomain(String urlhash)(Code) | | |
isLocal | public boolean isLocal()(Code) | | |
isPOST | public boolean isPOST()(Code) | | |
probablyRootURL | final public static boolean probablyRootURL(String urlHash)(Code) | | |
toNormalform | public String toNormalform(boolean stripReference, boolean stripAmp)(Code) | | |
|
|