Class Oneliner


  • public class Oneliner
    extends java.lang.Object
    Demonstrates how to use Boilerpipe to get the main content as plain text. Note: In real-world cases, you'd probably want to download the file first using a fault-tolerant crawler.
    See Also:
    if you need HTML as well.
    • Constructor Summary

      Constructors 
      Constructor Description
      Oneliner()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

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

      • Oneliner

        public Oneliner()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception