Scalax
|
|
scalax/io/OutputStreamResource.scala
]
abstract
class
OutputStreamResource[+O <: java.io.OutputStream]
extends
CloseableResource[O]Method Summary | |
def
|
buffered : OutputStreamResource[java.io.BufferedOutputStream] |
def
|
gzip
: OutputStreamResource[java.util.zip.GZIPOutputStream] with Wrapper
|
def
|
pumpFrom [I <: java.io.InputStream](isr : InputStreamResource[I]) : Unit |
def
|
writeLine (line : java.lang.String) : Unit |
def
|
writeLines (lines : scala.Seq[java.lang.String]) : Unit |
def
|
writeString (string : java.lang.String) : Unit |
def
|
writer
: WriterResource[java.io.Writer] with Wrapper
Obtains a Writer using the system default charset.
|
def
|
writer
(charset : java.lang.String) : WriterResource[java.io.Writer] with Wrapper
Obtains a Writer using the supplied charset.
|
Methods inherited from CloseableResource | |
translate, unsafeClose |
Methods inherited from ManagedResource | |
unsafeOpen (abstract), unsafeCloseQuietly, unsafeCloseIgnoringException, foreach, flatMap, map, acquireFor, and |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
def
buffered : OutputStreamResource[java.io.BufferedOutputStream]
def
writer : WriterResource[java.io.Writer] with
Wrapper
def
gzip : OutputStreamResource[java.util.zip.GZIPOutputStream] with
Wrapper
def
writer(charset : java.lang.String) : WriterResource[java.io.Writer] with
Wrapper
def
writeLine(line : java.lang.String) : Unit
def
writeLines(lines : scala.Seq[java.lang.String]) : Unit
def
writeString(string : java.lang.String) : Unit
def
pumpFrom[I <: java.io.InputStream](isr : InputStreamResource[I]) : Unit
Scalax
|
|