public class XExtendedService extends java.lang.Object implements ExtendedService
Constructor and Description |
---|
XExtendedService() |
Modifier and Type | Method and Description |
---|---|
FileContents |
openFile(java.io.File file)
Open a file on the client' system and return its contents.
|
FileContents[] |
openFiles(java.io.File[] files)
Opens multiple files on the user's sytem and returns their contents as a
FileContents array |
public FileContents openFile(java.io.File file) throws java.io.IOException
ExtendedService
openFile
in interface ExtendedService
file
- the file to openFileContents
objectjava.io.IOException
- on any io problemspublic FileContents[] openFiles(java.io.File[] files) throws java.io.IOException
ExtendedService
FileContents
arrayopenFiles
in interface ExtendedService
files
- the files to openjava.io.IOException
- on any io problems