Class CPD


  • public class CPD
    extends java.lang.Object
    • Method Detail

      • setCpdListener

        public void setCpdListener​(CPDListener cpdListener)
      • go

        public void go()
      • getMatches

        public java.util.Iterator<Match> getMatches()
      • addAllInDirectory

        public void addAllInDirectory​(java.io.File dir)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • addRecursively

        public void addRecursively​(java.io.File dir)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • add

        public void add​(java.util.List<java.io.File> files)
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • add

        public void add​(java.io.File file)
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • add

        public void add​(DBURI dburi)
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • getSourcePaths

        public java.util.List<java.lang.String> getSourcePaths()
        List names/paths of each source to be processed.
        Returns:
        names of sources to be processed
      • getSources

        public java.util.List<SourceCode> getSources()
        Get each Source to be processed.
        Returns:
        all Sources to be processed
      • main

        public static void main​(java.lang.String[] args)