All Packages  This Package  Class Hierarchy  Class Search  Index

Class com.syncbuilder.internal.sync.PilotOutputStream
java.lang.Object
   |
   +----java.io.OutputStream
           |
           +----com.syncbuilder.internal.sync.PilotOutputStream

  Summary

public class  PilotOutputStream
     extends java.io.OutputStream
{
          // Constructors 1
     public PilotOutputStream(SocketImpl);

          // Methods 3
     public void write(byte[]) throws IOException;
     public void write(byte[], int, int) throws IOException;
     public void write(int) throws IOException;
}

PilotOutputStream is a specialization of java.io.OutputStream which is capable of sending data to the PalmPilot through a SocketImpl (either serial or TCP/IP).




  Constructors

· PilotOutputStream

Summary  |  Top

   public PilotOutputStream(SocketImpl simpl) 

Create a new PilotOutputStream.



  Methods

· write

Summary  |  Top
   public void write(int b)  throws IOException

Write a single byte. This is highly inefficient. Use bulk-writes instead.

Overrides:
write in class OutputStream


· write

Summary  |  Top
   public void write(byte[] b)  throws IOException

Write the contents of an array of bytes. This is an efficient bulk-write.

Overrides:
write in class OutputStream


· write

Summary  |  Top
   public void write(byte[] b, 
                     int off, 
                     int len)  throws IOException

Write the contents of a specified part of an array of bytes. This is very efficient if the specified offset is 0, and slightly less efficient otherwise.

Overrides:
write in class OutputStream


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7