Class HrefCounter


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

      Constructors 
      Constructor Description
      HrefCounter​(java.io.File target)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addLink​(java.lang.String s, java.net.URL current)  
      void addLink​(java.lang.String s, java.net.URL current, boolean customClick)  
      void countPoints​(java.lang.String s)  
      java.io.File getFile()  
      java.lang.Integer getPageIndex​(java.lang.String path)  
      boolean isEmpty()  
      void loadHrefs()  
      void saveHrefs()  
      int size()  
      • Methods inherited from class java.lang.Object

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

      • HrefCounter

        public HrefCounter​(java.io.File target)
    • Method Detail

      • getFile

        public java.io.File getFile()
      • countPoints

        public void countPoints​(java.lang.String s)
      • saveHrefs

        public void saveHrefs()
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • loadHrefs

        public void loadHrefs()
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • getPageIndex

        public java.lang.Integer getPageIndex​(java.lang.String path)
      • addLink

        public void addLink​(java.lang.String s,
                            java.net.URL current)
      • addLink

        public void addLink​(java.lang.String s,
                            java.net.URL current,
                            boolean customClick)
      • isEmpty

        public boolean isEmpty()
      • size

        public int size()