|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.nio.charset.CharsetEncoder
org.openstreetmap.osmosis.core.xml.common.ProductionDbDataEncoder
public class ProductionDbDataEncoder
A special character set encoder to work around the production OSM database issue of double encoded data.
Constructor Summary | |
---|---|
protected |
ProductionDbDataEncoder(java.nio.charset.Charset cs,
float averageBytesPerChar,
float maxBytesPerChar)
Creates a new instance. |
Method Summary | |
---|---|
protected java.nio.charset.CoderResult |
encodeLoop(java.nio.CharBuffer in,
java.nio.ByteBuffer out)
|
Methods inherited from class java.nio.charset.CharsetEncoder |
---|
averageBytesPerChar, canEncode, canEncode, charset, encode, encode, flush, implFlush, implOnMalformedInput, implOnUnmappableCharacter, implReplaceWith, implReset, isLegalReplacement, malformedInputAction, maxBytesPerChar, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterAction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ProductionDbDataEncoder(java.nio.charset.Charset cs, float averageBytesPerChar, float maxBytesPerChar)
cs
- The owning character set.averageBytesPerChar
- The average number of output bytes per character.maxBytesPerChar
- The maximum number of output bytes per character.Method Detail |
---|
protected java.nio.charset.CoderResult encodeLoop(java.nio.CharBuffer in, java.nio.ByteBuffer out)
encodeLoop
in class java.nio.charset.CharsetEncoder
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |