public class ImportType extends Object implements ArooaValue, ArooaSessionAware
Modifier and Type | Class and Description |
---|---|
static class |
ImportType.Conversions |
Modifier and Type | Field and Description |
---|---|
static ArooaElement |
ELEMENT |
Constructor and Description |
---|
ImportType() |
Modifier and Type | Method and Description |
---|---|
File |
getFile() |
InputStream |
getInput() |
String |
getResource() |
String |
getXml() |
void |
setArooaSession(ArooaSession session) |
void |
setFile(File file) |
void |
setInput(InputStream input) |
void |
setResource(String resource) |
void |
setXml(String xml) |
Object |
toObject() |
public static final ArooaElement ELEMENT
public void setArooaSession(ArooaSession session)
setArooaSession
in interface ArooaSessionAware
public Object toObject() throws IOException
IOException
public String getResource()
public void setResource(String resource)
Property: resource
Description: A resource file on the classpath.
Required: No.
public File getFile()
public void setFile(File file)
Property: file
Description: A file.
Required: No.
public InputStream getInput()
public void setInput(InputStream input)
Property: input
Description: An input stream.
Required: No.
public String getXml()
public void setXml(String xml)
Property: xml
Description: XML as text.
Required: No.