Documentation of 'cc.mallet.util.UriUtils' Java class
UriUtils
cc.mallet.util

Class UriUtils



  • public class UriUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      UriUtils() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String filenameToUriString(java.lang.String filename) 
      static java.net.URI objectToUri(java.lang.Object obj) 
      static java.lang.String uriStringToFilename(java.lang.String uri)
      Convert a string-representation of a URI into a string that could be a filename.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UriUtils

        public UriUtils()
    • Method Detail

      • objectToUri

        public static java.net.URI objectToUri(java.lang.Object obj)
      • uriStringToFilename

        public static java.lang.String uriStringToFilename(java.lang.String uri)
        Convert a string-representation of a URI into a string that could be a filename. Do this by substituting '/' for '+', and '++' for '+'. For example, "http://www.cs.umass.edu/faculty" becomes "http:++www.cs.umass.edu+faculty".
      • filenameToUriString

        public static java.lang.String filenameToUriString(java.lang.String filename)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.