public String getPath ( ) { Matcher matcher = pathPattern . matcher ( name ) ; if ( matcher . find ( ) ) { String match = matcher . group ( 1 ) ; int lastDot = match . lastIndexOf ( ' ' ) ; if ( lastDot == - 1 ) throw new IllegalStateException ( "Bad asset path: " + match ) ; return match . substring ( 0 , lastDot ) . replace ( ' ' , ' ' ) + match . substring ( lastDot ) ; } else { return null ; } }
File path corresponding to name .