Package it.unimi.dsi.mg4j.util.parser.callback.AnchorExtractor

Examples of it.unimi.dsi.mg4j.util.parser.callback.AnchorExtractor.Anchor


      public void close() {}
      public Object content( int field ) throws IOException {
        ensureDocumentIndex( index );
        ObjectArrayList<Anchor> result = new ObjectArrayList<Anchor>();
        for( Map.Entry<Integer, ? extends CharSequence> entry: virtual[ index ].entrySet() )
          result.add( new Anchor( new MutableString( entry.getKey().toString() ), new MutableString( entry.getValue() ) ) );
        return result;
      }
      public CharSequence title() { return null; }
      public CharSequence uri() { return null; }
      public WordReader wordReader( int field ) { return new FastBufferedReader(); }
View Full Code Here

TOP

Related Classes of it.unimi.dsi.mg4j.util.parser.callback.AnchorExtractor.Anchor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.