Class Filename2CharSequence

  • All Implemented Interfaces:
    AlphabetCarrying, java.io.Serializable

    public class Filename2CharSequence
    extends Pipe
    implements java.io.Serializable
    Given a filename contained in a string, read in contents of file into a CharSequence.
    Author:
    Andrew McCallum mccallum@cs.umass.edu
    See Also:
    Serialized Form
    • Constructor Detail

      • Filename2CharSequence

        public Filename2CharSequence()
    • Method Detail

      • pipe

        public Instance pipe​(Instance carrier)
        Description copied from class: Pipe
        Really this should be 'protected', but isn't for historical reasons.
        Overrides:
        pipe in class Pipe
      • pipe

        public java.lang.CharSequence pipe​(java.io.Reader reader)
                                    throws java.io.IOException
        Throws:
        java.io.IOException