protected static File toPackageFolder ( String packageName ) { File file = null ; for ( final String element : packageName . split ( "[.]" ) ) { //$NON-NLS-1$ if ( file == null ) { file = new File ( element ) ; } else { file = new File ( file , element ) ; } } return file ; }
Convert a a package name for therelative file .