java.lang.Object
|
+--stec.iws.IOManager
public class IOManager
Defines methods used by iServer to retrieve an IO handler.
Methods
Method
|
Description
|
getHandler
|
Returns a handle to IO handler which can be used on specified item.
|
getHandler
Returns a handle to IO handler which can be used on specified item.
Syntax
public static IOHandler getHandler(String path)
throws IOException
public static IOHandler getHandler(String path,
String itemname)
throws IOException
public static IOHandler getHandler(IOHandler handler,
String itemname)
throws IOException
Parameters
itemname
|
the name of the item.
|
handler
|
a reference to an IO handler.
|
path
|
the path to the item.
|
Returns
IOHandler
|
the IO handler that can be used to interact with the specified item.
|
Throws
Example
IOHandler handler = IOManager.getHandler(basedir, filepath);
|