|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
org.jscience.devices.gps.garmin.GarminOutputStream
public class GarminOutputStream
This class take care of adding DLE-stuffing to all packets sent to the GPS. NOTE: Only the method write(GarminPacket) performs addition of DLE-stuffing. The remaining methods write directly to the GPS without format-control.
| Field Summary |
|---|
| Fields inherited from class java.io.FilterOutputStream |
|---|
out |
| Constructor Summary | |
|---|---|
GarminOutputStream(java.io.OutputStream o)
Creates a new GarminOutputStream object. |
|
| Method Summary | |
|---|---|
void |
write(GarminPacket packet)
DOCUMENT ME! |
| Methods inherited from class java.io.FilterOutputStream |
|---|
close, flush, write, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GarminOutputStream(java.io.OutputStream o)
o - DOCUMENT ME!| Method Detail |
|---|
public void write(GarminPacket packet)
throws java.io.IOException,
InvalidPacketException
packet - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
InvalidPacketException - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||