Example #1
0
 private String getShortAssetName(String s) {
   Path sPath = new Path(s);
   return sPath.getName();
   // return s.replaceAll(".*/assets/.*/","");
 } // getShortAssetName(String)
Example #2
0
 private String getShortName(String s) {
   Path sPath = new Path(s);
   return sPath.getName();
 }