|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectua.gradsoft.termware.termloaders.FileInputStreamSource
public class FileInputStreamSource
Input stream source for file system.
| Constructor Summary | |
|---|---|
FileInputStreamSource(File file,
String resourceName)
Creates a new instance of FileInputStreamSource |
|
| Method Summary | |
|---|---|
InputStream |
getInputStream()
create input stream for file found. |
String |
getResourceName()
get absolute path of file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileInputStreamSource(File file,
String resourceName)
file - file to open.resourceName - - name of resource, which refered from debug entries.
(usially - path relative to som systems)| Method Detail |
|---|
public InputStream getInputStream()
throws ExternalException
getInputStream in interface InputStreamSourceExternalExceptionpublic String getResourceName()
getResourceName in interface InputStreamSource
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||