test_class.declarator: reader
test_class.modifier: private
test_class.original_string: private IfcSpfReader reader;
test_class.type: IfcSpfReader
test_class.var_name: reader
test_class.file: IFCtoRDF/src/test/java/be/ugent/TestIfcSpfReader.java
test_class.identifier: TestIfcSpfReader
test_case.body: @Test
    public final void testShowFiles() {
      List<String> fileList = IfcSpfReader.showFiles(getClass().getClassLoader().getResource("showfiles").getFile());
      List<String> files = new ArrayList<>();
      for (String file : fileList) {
        files.add(file.substring(file.lastIndexOf(File.separatorChar)+1));
      }
      java.util.Collections.sort(files);
      StringBuilder sb = new StringBuilder();
      for (String s : files)
      {
        sb.append(s);
        sb.append(", ");
      }
      Assert.assertEquals(
              "20160414office_model_CV2_fordesign.ifc, 20160414office_model_CV2_fordesign.ttl, Barcelona_Pavilion.ifc, Barcelona_Pavilion.ttl, ootest.txt, ",
              sb.toString());
    }
test_case.class_method_signature: TestIfcSpfReader.testShowFiles()
test_case.full_signature: @Test public final void testShowFiles()
test_case.identifier: testShowFiles
test_case.invocations: showFiles getFile getResource getClassLoader getClass add substring lastIndexOf sort append append assertEquals toString
test_case.modifiers: @Test public final
test_case.parameters: ()
test_case.return: void
test_case.signature: void testShowFiles()
focal_class.declarator: LOG = LoggerFactory.getLogger(IfcSpfReader.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(IfcSpfReader.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: DEFAULT_PATH = ""
focal_class.modifier: public static
focal_class.original_string: public static String DEFAULT_PATH = "";
focal_class.type: String
focal_class.var_name: DEFAULT_PATH
focal_class.declarator: removeDuplicates = false
focal_class.modifier: private
focal_class.original_string: private boolean removeDuplicates = false;
focal_class.type: boolean
focal_class.var_name: removeDuplicates
focal_class.declarator: FLAG_BASEURI = 0
focal_class.modifier: private static final
focal_class.original_string: private static final int FLAG_BASEURI = 0;
focal_class.type: int
focal_class.var_name: FLAG_BASEURI
focal_class.declarator: FLAG_DIR = 1
focal_class.modifier: private static final
focal_class.original_string: private static final int FLAG_DIR = 1;
focal_class.type: int
focal_class.var_name: FLAG_DIR
focal_class.declarator: FLAG_KEEP_DUPLICATES = 2
focal_class.modifier: private static final
focal_class.original_string: private static final int FLAG_KEEP_DUPLICATES = 2;
focal_class.type: int
focal_class.var_name: FLAG_KEEP_DUPLICATES
focal_class.declarator: ifcFile
focal_class.modifier: private
focal_class.original_string: private String ifcFile;
focal_class.type: String
focal_class.var_name: ifcFile
focal_class.declarator: in = null
focal_class.modifier: private
focal_class.original_string: private InputStream in = null;
focal_class.type: InputStream
focal_class.var_name: in
focal_class.declarator: exp = ""
focal_class.modifier: private
focal_class.original_string: private String exp = "";
focal_class.type: String
focal_class.var_name: exp
focal_class.declarator: ontURI = ""
focal_class.modifier: protected
focal_class.original_string: protected String ontURI = "";
focal_class.type: String
focal_class.var_name: ontURI
focal_class.declarator: ent
focal_class.modifier: private
focal_class.original_string: private Map<String, EntityVO> ent;
focal_class.type: Map<String, EntityVO>
focal_class.var_name: ent
focal_class.declarator: typ
focal_class.modifier: private
focal_class.original_string: private Map<String, TypeVO> typ;
focal_class.type: Map<String, TypeVO>
focal_class.var_name: typ
focal_class.file: IFCtoRDF/src/main/java/be/ugent/IfcSpfReader.java
focal_class.identifier: IfcSpfReader
focal_class.class_method_signature: IfcSpfReader.main(String[] args)
focal_class.full_signature: public static void main(String[] args)
focal_class.identifier: main
focal_class.modifiers: public static
focal_class.parameters: (String[] args)
focal_class.return: void
focal_class.signature: void main(String[] args)
focal_class.class_method_signature: IfcSpfReader.showFiles(String dir)
focal_class.full_signature: public static List<String> showFiles(String dir)
focal_class.identifier: showFiles
focal_class.modifiers: public static
focal_class.parameters: (String dir)
focal_class.return: List<String>
focal_class.signature: List<String> showFiles(String dir)
focal_class.class_method_signature: IfcSpfReader.getExpressSchema(String ifcFile)
focal_class.full_signature: private static String getExpressSchema(String ifcFile)
focal_class.identifier: getExpressSchema
focal_class.modifiers: private static
focal_class.parameters: (String ifcFile)
focal_class.return: String
focal_class.signature: String getExpressSchema(String ifcFile)
focal_class.class_method_signature: IfcSpfReader.slurp(InputStream in)
focal_class.full_signature: public static String slurp(InputStream in)
focal_class.identifier: slurp
focal_class.modifiers: public static
focal_class.parameters: (InputStream in)
focal_class.return: String
focal_class.signature: String slurp(InputStream in)
focal_class.class_method_signature: IfcSpfReader.setup(String ifcFileIn)
focal_class.full_signature: @SuppressWarnings("unchecked") public void setup(String ifcFileIn)
focal_class.identifier: setup
focal_class.modifiers: @SuppressWarnings("unchecked") public
focal_class.parameters: (String ifcFileIn)
focal_class.return: void
focal_class.signature: void setup(String ifcFileIn)
focal_class.class_method_signature: IfcSpfReader.convert(String ifcFile, String outputFile, String baseURI)
focal_class.full_signature: public void convert(String ifcFile, String outputFile, String baseURI)
focal_class.identifier: convert
focal_class.modifiers: public
focal_class.parameters: (String ifcFile, String outputFile, String baseURI)
focal_class.return: void
focal_class.signature: void convert(String ifcFile, String outputFile, String baseURI)
focal_class.class_method_signature: IfcSpfReader.setRemoveDuplicates(boolean val)
focal_class.full_signature: public void setRemoveDuplicates(boolean val)
focal_class.identifier: setRemoveDuplicates
focal_class.modifiers: public
focal_class.parameters: (boolean val)
focal_class.return: void
focal_class.signature: void setRemoveDuplicates(boolean val)
focal_class.class_method_signature: IfcSpfReader.getEntityMap()
focal_class.full_signature: public Map<String, EntityVO> getEntityMap()
focal_class.identifier: getEntityMap
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Map<String, EntityVO>
focal_class.signature: Map<String, EntityVO> getEntityMap()
focal_class.class_method_signature: IfcSpfReader.getTypeMap()
focal_class.full_signature: public Map<String, TypeVO> getTypeMap()
focal_class.identifier: getTypeMap
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Map<String, TypeVO>
focal_class.signature: Map<String, TypeVO> getTypeMap()
focal_class.class_method_signature: IfcSpfReader.getOntURI()
focal_class.full_signature: public String getOntURI()
focal_class.identifier: getOntURI
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getOntURI()
focal_method.body: public static List<String> showFiles(String dir) {
          List<String> goodFiles = new ArrayList<>();
  
          File folder = new File(dir);
          File[] listOfFiles = folder.listFiles();
  
          for (int i = 0; i < listOfFiles.length; i++) {
              if (listOfFiles[i].isFile())
                  goodFiles.add(listOfFiles[i].getAbsolutePath());
              else if (listOfFiles[i].isDirectory())
                  goodFiles.addAll(showFiles(listOfFiles[i].getAbsolutePath()));
          }
          return goodFiles;
      }
focal_method.class_method_signature: IfcSpfReader.showFiles(String dir)
focal_method.full_signature: public static List<String> showFiles(String dir)
focal_method.identifier: showFiles
focal_method.invocations: listFiles isFile add getAbsolutePath isDirectory addAll showFiles getAbsolutePath
focal_method.modifiers: public static
focal_method.parameters: (String dir)
focal_method.return: List<String>
focal_method.signature: List<String> showFiles(String dir)