|
Scala 2
|
object
Source
extends
java.lang.Object with
ScalaObjectConstructor Summary | |
def
this
|
Def Summary | |
def
fromBytes
( bytes : Array )
: Source
creates Source from array of bytes, with empty description |
|
def
fromBytes
( bytes : Array , enc : java.lang.String )
: Source
creates Source from array of bytes with given encoding, with empty description |
|
def
fromChar
( c : scala.Char )
: Source
creates Source from a single char |
|
def
fromChars
( chars : Array )
: Source
creates Source from array of characters, with empty description |
|
def
fromFile
( file : java.io.File )
: Source
creates Source from file, using default character encoding, setting its description to filename. |
|
def
fromFile
( file : java.io.File , enc : java.lang.String )
: Source
creates Source from file, using given character encoding, setting its description to filename. |
|
def
fromFile
( name : java.lang.String )
: Source
creates Source from file with given name, setting its description to filename. |
|
def
fromFile
( name : java.lang.String , enc : java.lang.String )
: Source
creates Source from file with given name, using given encoding, setting its description to filename. |
|
def
fromFile
( uri : java.net.URI )
: Source
creates Source from file with given file: URI |
|
def
fromString
( s : java.lang.String )
: Source
creates Source from string, with empty description |
|
def
fromURL
( s : java.lang.String )
: Source
|
|
def
fromURL
( url : java.net.URL )
: Source
|
|
def
setFileDescriptor
( file : java.io.File , s : Source )
: Source
|
Constructor Detail |
def
this
Def Detail |
def
fromBytes
( bytes : Array ) : Source
def
fromBytes
( bytes : Array , enc : java.lang.String ) : Source
def
fromChar
( c : scala.Char ) : Source
def
fromChars
( chars : Array ) : Source
def
fromFile
( file : java.io.File ) : Source
def
fromFile
( file : java.io.File , enc : java.lang.String ) : Source
def
fromFile
( name : java.lang.String ) : Source
def
fromFile
( name : java.lang.String , enc : java.lang.String ) : Source
def
fromFile
( uri : java.net.URI ) : Source
def
fromString
( s : java.lang.String ) : Source
def
fromURL
( s : java.lang.String ) : Source
def
fromURL
( url : java.net.URL ) : Source
def
setFileDescriptor
( file : java.io.File , s : Source ) : Source