scalax.io.InputStreamResource

class InputStreamResource

abstract class InputStreamResource[+ I <: InputStream]

 extends CloseableResource[I]




Companion: InputStreamResource

Source: resources.scala(62)

 Constructors

def this

 Fields

buffered def buffered InputStreamResource[BufferedInputStream]
gunzip def gunzip InputStreamResource[GZIPInputStream] with Wrapper

 Methods

!= final def !=(arg0 : Any) Boolean Any
!= final def !=(arg0 : Object) Boolean AnyRef
== final def ==(arg0 : Object) Boolean AnyRef
== final def ==(arg0 : Any) Boolean Any
acquireFor def acquireFor[B](f : (A) => B)
Acquires the resource for the duration of the supplied function
B ManagedResource
and def and[B](that : ManagedResource[B]) ManagedResource[(A, B)] ManagedResource
asInstanceOf final def asInstanceOf[T0] T0 Any
clone protected def clone Object AnyRef
eq final def eq(arg0 : Object) Boolean AnyRef
equals def equals(arg0 : Any) Boolean AnyRef
finalize protected def finalize Unit AnyRef
flatMap def flatMap[B](f : (A) => B) B ManagedResource
foreach def foreach(f : (A) => Unit) Unit ManagedResource
getClass final def getClass Class[Any] AnyRef
hashCode def hashCode Int AnyRef
isInstanceOf final def isInstanceOf[T0] Boolean Any
lines def lines ManagedSequence[String]
lines def lines(charset : String) ManagedSequence[String]
map def map[B](f : (A) => B) B ManagedResource
ne final def ne(arg0 : Object) Boolean AnyRef
notify final def notify Unit AnyRef
notifyAll final def notifyAll Unit AnyRef
pumpTo def pumpTo[O <: OutputStream](osr : OutputStreamResource[O]) Unit
readLine def readLine String
readLines def readLines Seq[String]
reader def reader ReaderResource[Reader] with Wrapper
reader def reader(charset : String)
Obtains a Reader using the supplied charset
ReaderResource[Reader] with Wrapper
slurp def slurp Array[Byte]
synchronized final def synchronized[T0](arg0 : T0) T0 AnyRef
toString def toString String AnyRef
translate final def translate(v : Handle)
Should be implemented to translate a Handle into the desired resource type
Handle CloseableResource
unsafeClose override def unsafeClose(r : Handle)
Should be implemented to dispose of the managed resource [details]
This will be called automatically when the ManagedResource is used in a for-comprehension.
Unit CloseableResource
unsafeCloseIgnoringException def unsafeCloseIgnoringException(v : Handle)
Close ignoring Exception, but not any Throwable
Unit ManagedResource
unsafeCloseQuietly def unsafeCloseQuietly(v : Handle) Unit ManagedResource
unsafeOpen abstract def unsafeOpen
Should be implemented to acquire the managed resource [details]
Clients are discouraged from calling this method directly, as the returned resource must be disposed of manually.
Handle ManagedResource
wait final def wait Unit AnyRef
wait final def wait(arg0 : Long) Unit AnyRef
wait final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
Copyright (c) 2005-2008. All Rights Reserved.