Class Input2CharSequence

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

    public class Input2CharSequence
    extends Pipe
    implements java.io.Serializable
    Pipe that can read from various kinds of text sources (either URI, File, or Reader) into a CharSequence
    Version:
    $Id: Input2CharSequence.java,v 1.1 2007/10/22 21:37:39 mccallum Exp $
    See Also:
    Serialized Form
    • Constructor Detail

      • Input2CharSequence

        public Input2CharSequence()
      • Input2CharSequence

        public Input2CharSequence​(java.lang.String encoding)
    • 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.net.URI uri)
                                    throws java.io.FileNotFoundException,
                                           java.io.IOException
        Throws:
        java.io.FileNotFoundException
        java.io.IOException
      • pipe

        public java.lang.CharSequence pipe​(java.io.File file)
                                    throws java.io.FileNotFoundException,
                                           java.io.IOException
        Throws:
        java.io.FileNotFoundException
        java.io.IOException
      • pipe

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

        public java.lang.CharSequence pipe​(java.lang.CharSequence cs)