List < String > function ( File arg0 ) { arg0 = arg0 . getAbsoluteFile ( ) ; final List < String > loc0 = new LinkedList < String > ( ) ; do { loc0 . add ( 0 , arg0 . getName ( ) ) ; arg0 = arg0 . getParentFile ( ) ; } while ( arg0 != null ) ; loc0 . remove ( 0 ) ; return loc0 ; }
returns all path elements of the given file . the absolute path of the file is used to evaluate the path elements . for instance , a list with the 3 elements `` var '' , `` tmp '' , `` out.txt '' is returned for an input file '' / var/tmp/out.txt '' . concode_field_sep String ROOT_WINDOWS concode_elem_sep String ROOT concode_elem_sep String ROOT_UNIX concode_elem_sep String ROOT_WINDOWS_NETWORK concode_field_sep void addFileExpanded concode_elem_sep FilenameFilter getFileNameFilter concode_elem_sep boolean isWildcardFileName concode_elem_sep File getOutputDirectoryGivenClass concode_elem_sep File toAbsoluteFile concode_elem_sep File getDirectoryOfClassFile concode_elem_sep File getDirectoryOfClassFile concode_elem_sep boolean isWindows concode_elem_sep List<File> expandFiles concode_elem_sep List<File> expandFiles concode_elem_sep File getUserDir concode_elem_sep List<File> toList concode_elem_sep String getRelativePath concode_elem_sep void listFiles