de.cm.osm2po.sd.primitives
Class FastFileStreamWriter

java.lang.Object
  extended by java.lang.Thread
      extended by de.cm.osm2po.sd.primitives.FastFileStreamWriter
All Implemented Interfaces:
java.lang.Runnable

public class FastFileStreamWriter
extends java.lang.Thread

Author:
(c) 2013 - Carsten Moeller - info@osm2po

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
FastFileStreamWriter(java.io.File file)
           
 
Method Summary
 void close()
           
 void run()
           
 void writeByte(byte b)
           
 void writeInt(int i)
           
 void writeLong(long l)
           
 void writeShort(short s)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FastFileStreamWriter

public FastFileStreamWriter(java.io.File file)
Method Detail

close

public void close()

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

writeByte

public final void writeByte(byte b)

writeShort

public final void writeShort(short s)

writeInt

public final void writeInt(int i)

writeLong

public final void writeLong(long l)

osm2po-sd-5.0.0 (c) December 24 2014 Carsten Moeller - info@osm2po.de