class Input extends AnyRef
- Source
- io.scala
- Alphabetic
- By Inheritance
- Input
- AnyRef
- Any
- by Input2InputStream
- by richDrxAny
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Input(is: InputStream)
Type Members
- class AsciiIterator extends Iterator[String]
Unix like string iterator to finding ascii character sequences
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Input, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[A](applyFunc: (InputStream) => A): drx.Try[A]
- def applyIf(t: Boolean, f: (Input) => Input): Input
- Implicit
- This member is added by an implicit conversion from Input toDrxAny[Input] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (Input) => Boolean)(f: (Input) => Input): Input
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from Input toDrxAny[Input] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def as(sg: StreamGenerator): Input
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asString: String
- def asString(charset: Charset): String
- def available(): Int
- Implicit
- This member is added by an implicit conversion from Input toInputStream performed by method Input2InputStream in cc.drx.Input.
- Definition Classes
- InputStream
- Annotations
- @throws(classOf[java.io.IOException])
- def base64: String
- def bufferedSource(bufferSize: Int = scala.io.Source.DefaultBufSize)(implicit codec: Codec): BufferedSource
- def byteIt(bufferSize: Int): Iterator[Byte]
- def byteIt: Iterator[Byte]
default large buffer iterator chunks
- def cat: String
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def close: Unit
- def consume: Unit
- def copyTo(that: Output): Unit
- def copyTo(that: File): Unit
- def digest(implicit md: MessageDigest): String
- def elementOf(xs: Set[Input]): Boolean
- Implicit
- This member is added by an implicit conversion from Input toDrxAny[Input] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def ensuring(cond: (Input) => Boolean, msg: => Any): Input
- def ensuring(cond: (Input) => Boolean): Input
- def ensuring(cond: Boolean, msg: => Any): Input
- def ensuring(cond: Boolean): Input
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val is: InputStream
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def keepOpen: Input
- def lines(debug: Option[Int]): LineIterator
- def lines: LineIterator
- def mark(arg0: Int): Unit
- Implicit
- This member is added by an implicit conversion from Input toInputStream performed by method Input2InputStream in cc.drx.Input.
- Definition Classes
- InputStream
- def markSupported(): Boolean
- Implicit
- This member is added by an implicit conversion from Input toInputStream performed by method Input2InputStream in cc.drx.Input.
- Definition Classes
- InputStream
- def md5: String
- def monitor(message: String = "Progress"): Input
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noneIf(f: (Input) => Boolean): Option[Input]
- Implicit
- This member is added by an implicit conversion from Input toDrxAny[Input] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def optionIf(f: (Input) => Boolean): Option[Input]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from Input toDrxAny[Input] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def preApply[B](f: (Input) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from Input toDrxAny[Input] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def promptLine: String
readline like but with a callback on each charcter input; returning the full string
- def read[A](readFunc: (DataInputStream) => A): A
- def readCharsWhile(callback: (Char) => Boolean, charset: Charset = UTF_8): Unit
readline like but with a callback on each charcter input; returning the full string
- def reset(): Unit
- Implicit
- This member is added by an implicit conversion from Input toInputStream performed by method Input2InputStream in cc.drx.Input.
- Definition Classes
- InputStream
- Annotations
- @throws(classOf[java.io.IOException])
- def sha1: String
- def sha256: String
- def sideEffect(f: (Input) => Unit): Input
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from Input toDrxAny[Input] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def skip(arg0: Long): Long
- Implicit
- This member is added by an implicit conversion from Input toInputStream performed by method Input2InputStream in cc.drx.Input.
- Definition Classes
- InputStream
- Annotations
- @throws(classOf[java.io.IOException])
- def someIf(f: (Input) => Boolean): Option[Input]
- Implicit
- This member is added by an implicit conversion from Input toDrxAny[Input] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def strings: Iterator[String]
Unix like string iterator to finding ascii character sequences
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val thisAny: Input
- Implicit
- This member is added by an implicit conversion from Input toDrxAny[Input] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def toByteArray: Array[Byte]
- def toByteBuffer: ByteBuffer
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def xxd: Iterator[String]
Unix like hex dump as an efficient string iterator
Shadowed Implicit Value Members
- def close(): Unit
- Implicit
- This member is added by an implicit conversion from Input toInputStream performed by method Input2InputStream in cc.drx.Input.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(input: InputStream).close()
- Definition Classes
- InputStream → Closeable → AutoCloseable
- Annotations
- @throws(classOf[java.io.IOException])
- def read(arg0: Array[Byte], arg1: Int, arg2: Int): Int
- Implicit
- This member is added by an implicit conversion from Input toInputStream performed by method Input2InputStream in cc.drx.Input.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(input: InputStream).read(arg0, arg1, arg2)
- Definition Classes
- InputStream
- Annotations
- @throws(classOf[java.io.IOException])
- def read(arg0: Array[Byte]): Int
- Implicit
- This member is added by an implicit conversion from Input toInputStream performed by method Input2InputStream in cc.drx.Input.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(input: InputStream).read(arg0)
- Definition Classes
- InputStream
- Annotations
- @throws(classOf[java.io.IOException])
- def read(): Int
- Implicit
- This member is added by an implicit conversion from Input toInputStream performed by method Input2InputStream in cc.drx.Input.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(input: InputStream).read()
- Definition Classes
- InputStream
- Annotations
- @throws(classOf[java.io.IOException])
Deprecated Value Members
- def ?>(f: (Input) => Boolean): Option[Input]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from Input toDrxAny[Input] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) to many symbols are hard to undertand
- def bytes: Iterator[Byte]
- Annotations
- @deprecated
- Deprecated
(Since version dk) use byteIt, since bytes seems like an immutable list
- def copy(that: Output): Unit
- Annotations
- @deprecated
- Deprecated
(Since version dq) use copyTo to be more specific where it is copied to
- def readBytes(readFunc: (Array[Byte]) => Unit): Unit
- Annotations
- @deprecated
- Deprecated
(Since version dj) remove this broken somewhat broken concept, since the buffer size may not be full
- def |>[B](f: (Input) => B): B
- Implicit
- This member is added by an implicit conversion from Input toDrxAny[Input] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) use
preApply
if you must (symbols are concise without concision)
- def →[B](y: B): (Input, B)
- Implicit
- This member is added by an implicit conversion from Input toArrowAssoc[Input] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.