object ToolData
- Alphabetic
- By Inheritance
- ToolData
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
apply(opener: () ⇒ InputStream): ToolData
Create a new
ToolData
that uses the givenopener
to provide its data.Create a new
ToolData
that uses the givenopener
to provide its data.- opener
A function that (creates and) returns an InputStream representing the data's content.
- returns
A new ToolData that uses the given
opener
to provide content
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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] )
-
def
fromFile(file: File): ToolData
Create a new ToolData that will provide the contents of the given file when opened.
Create a new ToolData that will provide the contents of the given file when opened.
- file
The file for the ToolData
- returns
A new ToolData representing the given file
-
def
fromPath(path: Path): ToolData
Create a new ToolData that will provide the contents of the given path when opened.
Create a new ToolData that will provide the contents of the given path when opened.
- path
The path for the ToolData
- returns
A new ToolData representing the given file
-
def
fromSingleUseStream(stream: ⇒ InputStream): ToolData
Create a new ToolData whose content is a one-time-use InputStream.
Create a new ToolData whose content is a one-time-use InputStream. If the content is accessed more than once, an
IllegalAccessException
will be thrown.- stream
A lazy expression that obtains the stream
- returns
A new one-time-use ToolData that wraps the given
stream
-
def
fromText(text: String): ToolData
Create a new ToolData whose contents will be the raw UTF-8 bytes of the given
text
.Create a new ToolData whose contents will be the raw UTF-8 bytes of the given
text
.- text
The text for the ToolData
- returns
A new ToolData containing the given text
-
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
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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()