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