Code example for URI

Methods: getSchemeSpecificPart

0
      return uri.toString();
   } 
 
   @Override 
   public String getRawPath() {
      String toReturn = uri.getSchemeSpecificPart();
      if (toReturn.startsWith("//") != false) {
         toReturn = toReturn.substring(2, toReturn.length());
      } 
      return toReturn;
   } 
} 
Contextual code suggestions in your IDE  Get Codota for Java