String function ( String arg0 ) { int loc0 = arg0 . lastIndexOf ( '.' ) ; if ( loc0 < 0 ) { return arg0 ; } if ( arg0 . length ( ) - 1 == loc0 ) { return arg0 . substring ( 0 , arg0 . length ( ) - 1 ) ; } return arg0 . substring ( 0 , loc0 ) ; }
returns the class name of the specified filename . concode_field_sep File cwd concode_field_sep File getRobotDatabaseFile concode_elem_sep File getEditorThemeConfigDir concode_elem_sep boolean isFilenameValid concode_elem_sep File getRobotsDir concode_elem_sep File getRobocodeConfigFile concode_elem_sep File getEditorConfigFile concode_elem_sep void setCwd concode_elem_sep File getRobotsDataDir concode_elem_sep String getFileType concode_elem_sep String getFileType concode_elem_sep File getConfigDir concode_elem_sep File getCwd concode_elem_sep String quoteFileName concode_elem_sep File getWindowConfigFile concode_elem_sep void cleanupStream concode_elem_sep File createDir concode_elem_sep void copy concode_elem_sep File getScreenshotsDir concode_elem_sep boolean deleteDir concode_elem_sep File getCompilerConfigFile concode_elem_sep File getBattlesDir