|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectus.zuercher.gpx2map.util.MessageSink
public abstract class MessageSink
MessageSink represents a sink of informational messages generating while downloading and plotting GPS data on maps.
Constructor Summary | |
---|---|
MessageSink()
|
Method Summary | |
---|---|
abstract void |
newLine()
Implementation-defined mechanism for starting a new line of output. |
void |
write(boolean x)
Converts the given boolean value to a String and writes it to the sink. |
void |
write(double x)
Converts the given double-precisions floating point value to a String and writes it to the sink. |
void |
write(float x)
Converts the given floating point number to a String and writes it to the sink. |
void |
write(int x)
Converts the given integer to a String and writes it to the sink. |
void |
write(long x)
Converts the given long integer to a String and writes it to the sink. |
abstract void |
write(String message)
Implementation-defined mechanism for outputing String data. |
void |
writeLine(boolean x)
Write the boolean value and generate a
new-line . |
void |
writeLine(double x)
Write the double-precision floating point
value and generate a new-line . |
void |
writeLine(float x)
Write the floating point value and generate a
new-line . |
void |
writeLine(int x)
Write the integer and generate a
new-line . |
void |
writeLine(long x)
Write the long integer and generate a
new-line . |
void |
writeLine(String message)
Write the String and generate a
new-line . |
void |
writeLine(Throwable t)
Converts the given Throwable to a series of stack trace lines
and writes them to the sink. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageSink()
Method Detail |
---|
public abstract void write(String message)
message
- the data to outputpublic abstract void newLine()
public void writeLine(String message)
Write
the String and generate a
new-line
.
message
- output datapublic void write(int x)
writes
it to the sink.
x
- an integerpublic void writeLine(int x)
Write
the integer and generate a
new-line
.
x
- an integerpublic void write(long x)
writes
it to the sink.
x
- a long integerpublic void writeLine(long x)
Write
the long integer and generate a
new-line
.
x
- a long integerpublic void write(float x)
writes
it to the sink.
x
- a floating point numberpublic void writeLine(float x)
Write
the floating point value and generate a
new-line
.
x
- a floating point valuepublic void write(double x)
writes
it to the sink.
x
- a double precision floating point valuepublic void writeLine(double x)
Write
the double-precision floating point
value and generate a new-line
.
x
- a double-precision floating point valuepublic void write(boolean x)
writes
it to the sink.
x
- a boolean valuepublic void writeLine(boolean x)
Write
the boolean value and generate a
new-line
.
x
- a boolean valuepublic void writeLine(Throwable t)
Throwable
to a series of stack trace lines
and writes
them to the sink.
t
- a Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |