public class SystemInputResource extends Resource implements ISystemInputSource
ISystemInputSource
that returns the SystemInputDef
at the given URL.Resource.Type
Constructor and Description |
---|
SystemInputResource(File location)
Creates a new SystemInputResource instance.
|
SystemInputResource(URL location)
Creates a new SystemInputResource instance.
|
Modifier and Type | Method and Description |
---|---|
static SystemInputResource |
at(URL location)
Returns the
SystemInputResource at the given location. |
SystemInputDef |
getSystemInputDef()
Returns a
SystemInputDef instance. |
static SystemInputResource |
of(File file)
Returns the
SystemInputResource for the given file. |
void |
write(SystemInputDef systemInput)
Writes the given system input definition.
|
close, getLocation, getType, openInput, openOutput, setType, toString, urlFor, withDefaultType, withDefaultType
public SystemInputResource(URL location)
public SystemInputResource(File location)
public SystemInputDef getSystemInputDef()
SystemInputDef
instance.getSystemInputDef
in interface ISystemInputSource
public void write(SystemInputDef systemInput)
public static SystemInputResource at(URL location)
SystemInputResource
at the given location.public static SystemInputResource of(File file)
SystemInputResource
for the given file.Copyright © 2024 The Cornutum Project. All rights reserved.