Class SpdxFileFactory


  • public class SpdxFileFactory
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SpdxFileFactory​(org.spdx.library.model.SpdxDocument spdxDocument, java.io.File projectDir)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.spdx.library.model.SpdxFile newFile​(java.nio.file.Path file)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpdxFileFactory

        public SpdxFileFactory​(org.spdx.library.model.SpdxDocument spdxDocument,
                               java.io.File projectDir)
    • Method Detail

      • newFile

        public org.spdx.library.model.SpdxFile newFile​(java.nio.file.Path file)
                                                throws org.spdx.library.InvalidSPDXAnalysisException,
                                                       java.io.IOException
        Throws:
        org.spdx.library.InvalidSPDXAnalysisException
        java.io.IOException