|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.scape_project.pit.invoke.In
public class In
This class supports mapping between the input types the clients support and those supported by the tool.
| Nested Class Summary | |
|---|---|
static class |
In.Type
Enumeration to represent the type of data object |
| Constructor Summary | |
|---|---|
In(File file)
Constructor for a java.io.File containing the data object |
|
In(InputStream is)
Constructor for InputStream based input |
|
In(URI uri)
Constructor for URI for the data object |
|
| Method Summary | |
|---|---|
File |
getFile()
|
InputStream |
getInputStream()
|
In.Type |
getType()
Get the type of the underlying data object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public In(InputStream is)
is - a java.io.InputStream to the data objectpublic In(URI uri)
uri - the URI identifying the object, should be a URLpublic In(File file)
file - the file| Method Detail |
|---|
public In.Type getType()
public InputStream getInputStream()
throws IOException
IOException - If there's a problem obtaining the streampublic File getFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||