public static String fileTypeAsString ( int fileType ) { String result ; switch ( fileType ) { case AGGREGATOR : result = "aggregator" ; break ; case GRAPH : result = "graph" ; break ; case INSTANCE : result = "intsnace" ; break ; case UNDETERMINED : result = "undetermined" ; break ; default : result = "unknown" ; break ; } return result ; }
Transforms a file type into a string .