trait Chars extends Bytes
For objects which can be viewed as Chars.
Note: This library is considered experimental and should not be used unless you know what you are doing.
- Alphabetic
- By Inheritance
- Chars
- Bytes
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
applyReader[T](f: (BufferedReader) ⇒ T): T
Creates a BufferedReader and applies the closure, automatically closing it on completion.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
bufferedInput(): BufferedInputStream
- Definition Classes
- Bytes
- def bufferedReader(codec: Codec): BufferedReader
-
def
bufferedReader(): BufferedReader
Wraps a BufferedReader around the result of reader().
-
def
bytes(): Iterator[Byte]
- Definition Classes
- Bytes
-
def
bytesAsInts(): Iterator[Int]
- Definition Classes
- Bytes
-
def
chars(codec: Codec): BufferedSource
Caller is responsible for closing the returned BufferedSource.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
creationCodec: Codec
Calls to methods requiring byte<->char transformations should be offered in a form which allows specifying the codec.
Calls to methods requiring byte<->char transformations should be offered in a form which allows specifying the codec. When it is not specified, the one discovered at creation time will be used, which will always find the one in scala.io.Codec if no other is available. This can be overridden to use a different default.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
length: Long
- Definition Classes
- Bytes
-
def
lines(codec: Codec): Iterator[String]
Beware! Leaks an InputStream which will not be closed until it gets finalized.
-
def
lines(): Iterator[String]
Beware! Leaks an InputStream which will not be closed until it gets finalized.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
reader(codec: Codec): InputStreamReader
Obtains an InputStreamReader wrapped around a FileInputStream.
- def slurp(codec: Codec): String
-
def
slurp(): String
Convenience function to import entire file into a String.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toByteArray(): Array[Byte]
This method aspires to be the fastest way to read a stream of known length into memory.
This method aspires to be the fastest way to read a stream of known length into memory.
- Definition Classes
- Bytes
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()