Package oracle.jdbc.diagnostics
Class Parameter.ByteBufferParameter
- java.lang.Object
-
- oracle.jdbc.diagnostics.Parameter<java.nio.ByteBuffer>
-
- oracle.jdbc.diagnostics.Parameter.ByteBufferParameter
-
protected static final class Parameter.ByteBufferParameter extends Parameter<java.nio.ByteBuffer>
A Formatter that will display the content of a ByteBuffer. Content is displayed in three columns. 1) byte count of the first byte starting from initialCount. 2) ten bytes in hex pairs. 3) ASCII chars corresponding to those bytes. Non-printable characters are displayed as a single dot, ".". Except for the first line the count of the first byte of each line is 0 mod 10. As a result the first line will have fewer than 10 bytes if initialCount mod 10 != 0.Example:{@code 000,000,000,003 : 2E849D7F63FBF4 | ....c..| 000,000,000,010 : 3118E1989EC763C4B457 |1.....c..W| 000,000,000,020 : B657D2987BE86C6998E0 |.W..{.li..| 000,000,000,030 : ACC1D3E002D2 |...... |}
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class oracle.jdbc.diagnostics.Parameter
Parameter.ByteBufferParameter, Parameter.PacketDumpParameter, Parameter.PropertiesParameter
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ByteBufferParameter(java.nio.ByteBuffer value, long maxBytes, long offset, long length, long initialCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
basicFormat()
-
-
-
Method Detail
-
basicFormat
protected final java.lang.String basicFormat()
- Overrides:
basicFormat
in classParameter<java.nio.ByteBuffer>
-
-