wonderly.jeaprs.io.aprs
Class TNCFileAccess

java.lang.Object
  |
  +--wonderly.jeaprs.io.aprs.TNCFileAccess
All Implemented Interfaces:
TNCInitialization

public class TNCFileAccess
extends java.lang.Object
implements TNCInitialization

This class provides access to the default TNC init/reset statements or the overriding TNC initialization "files". This class can be replaced in environments without java.io.File support so that these 'files' contents are available/specified alternatively.

Version:
1.0
Author:
Gregg Wonderly - The information contained in this document is Copyright 2001-2003, Gregg Wonderly, all rights reserved.

Constructor Summary
TNCFileAccess()
           
 
Method Summary
 java.io.InputStream getKissModeOff()
           
 java.io.InputStream getKissModeOn()
           
 java.io.InputStream getTNCInit()
           
 java.io.InputStream getTNCReset()
          Reset file contents from "tnc.reset" if present in System.getProperty("user.dir").
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TNCFileAccess

public TNCFileAccess()
Method Detail

getTNCInit

public java.io.InputStream getTNCInit()
                               throws java.io.IOException
Specified by:
getTNCInit in interface TNCInitialization
java.io.IOException

getTNCReset

public java.io.InputStream getTNCReset()
                                throws java.io.IOException
Reset file contents from "tnc.reset" if present in System.getProperty("user.dir").

Specified by:
getTNCReset in interface TNCInitialization
java.io.IOException

getKissModeOn

public java.io.InputStream getKissModeOn()
                                  throws java.io.IOException
Specified by:
getKissModeOn in interface TNCInitialization
java.io.IOException

getKissModeOff

public java.io.InputStream getKissModeOff()
                                   throws java.io.IOException
Specified by:
getKissModeOff in interface TNCInitialization
java.io.IOException