Located in compilation unit of com.
| Modifier and Type | Field and Description |
|---|---|
| private final BufferedInputStream | |
| public static final int | |
| public static final int | |
| private boolean | |
| public static final String | |
| private boolean | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| private static final String | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private static final String | |
| private long | |
| private long | |
| private long | |
| private long | |
| private static final int | |
| private EHTMLReadMode | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| private String | |
| private String | |
| public static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | close()
Overrides java. Implements java. Closes this input stream and releases any system resources associated with the stream. |
| public static byte[] | convertToHTMLFormat(byte[] bytes)
convertToHTMLFormat adds the MS HTML clipboard header to byte array that contains the parameters pairs. |
| public synchronized String | |
| public synchronized String | |
| private void | parseDescription()
parseDescription parsing HTML clipboard header as it described in comment to convertToHTMLFormat |
| public synchronized int | read()
Implements abstract java. Reads the next byte of data from the input stream. |
| private static String |
| bufferedStream | back to summary |
|---|---|
| private final BufferedInputStream bufferedStream | |
| BYTE_BUFFER_LEN | back to summary |
|---|---|
| public static final int BYTE_BUFFER_LEN | |
| CHAR_BUFFER_LEN | back to summary |
|---|---|
| public static final int CHAR_BUFFER_LEN | |
| closed | back to summary |
|---|---|
| private boolean closed | |
| DEF_SOURCE_URL | back to summary |
|---|---|
| public static final String DEF_SOURCE_URL | |
| descriptionParsed | back to summary |
|---|---|
| private boolean descriptionParsed | |
| ENCODING | back to summary |
|---|---|
| public static final String ENCODING | |
| END_FRAGMENT | back to summary |
|---|---|
| public static final String END_FRAGMENT | |
| END_FRAGMENT_CMT | back to summary |
|---|---|
| public static final String END_FRAGMENT_CMT | |
| END_HTML | back to summary |
|---|---|
| public static final String END_HTML | |
| END_SELECTION | back to summary |
|---|---|
| public static final String END_SELECTION | |
| EOLN | back to summary |
|---|---|
| public static final String EOLN | |
| FAILURE_MSG | back to summary |
|---|---|
| private static final String FAILURE_MSG | |
| iEndOffset | back to summary |
|---|---|
| private long iEndOffset | |
| iFragEnd | back to summary |
|---|---|
| private long iFragEnd | |
| iFragStart | back to summary |
|---|---|
| private long iFragStart | |
| iHTMLEnd | back to summary |
|---|---|
| private long iHTMLEnd | |
| iHTMLStart | back to summary |
|---|---|
| private long iHTMLStart | |
| INVALID_MSG | back to summary |
|---|---|
| private static final String INVALID_MSG | |
| iReadCount | back to summary |
|---|---|
| private long iReadCount | |
| iSelEnd | back to summary |
|---|---|
| private long iSelEnd | |
| iSelStart | back to summary |
|---|---|
| private long iSelStart | |
| iStartOffset | back to summary |
|---|---|
| private long iStartOffset | |
| PADDED_WIDTH | back to summary |
|---|---|
| private static final int PADDED_WIDTH | |
| readMode | back to summary |
|---|---|
| private EHTMLReadMode readMode | |
| SOURCE_URL | back to summary |
|---|---|
| public static final String SOURCE_URL | |
| START_FRAGMENT | back to summary |
|---|---|
| public static final String START_FRAGMENT | |
| START_FRAGMENT_CMT | back to summary |
|---|---|
| public static final String START_FRAGMENT_CMT | |
| START_HTML | back to summary |
|---|---|
| public static final String START_HTML | |
| START_SELECTION | back to summary |
|---|---|
| public static final String START_SELECTION | |
| stBaseURL | back to summary |
|---|---|
| private String stBaseURL | |
| stVersion | back to summary |
|---|---|
| private String stVersion | |
| VERSION | back to summary |
|---|---|
| public static final String VERSION | |
| VERSION_NUM | back to summary |
|---|---|
| private static final String VERSION_NUM | |
| HTMLCodec | back to summary |
|---|---|
| public HTMLCodec(InputStream _bytestream, EHTMLReadMode _readMode) | |
| close | back to summary |
|---|---|
| public synchronized void close() throws IOException Overrides java. Implements java. Doc from java. Closes this input stream and releases any system resources associated with the stream.
| |
| convertToHTMLFormat | back to summary |
|---|---|
| public static byte[] convertToHTMLFormat(byte[] bytes) convertToHTMLFormat adds the MS HTML clipboard header to byte array that contains the parameters pairs. The consequence of parameters is fixed, but some or all of them could be omitted. One parameter per one text line. It looks like that: Version:1.0\r\n -- current supported version StartHTML:000000192\r\n -- shift in array to the first byte after the header EndHTML:000000757\r\n -- shift in array of last byte for HTML syntax analysis StartFragment:000000396\r\n -- shift in array jast after EndFragment:000000694\r\n -- shift in array before start StartSelection:000000398\r\n -- shift in array of the first char in copied selection EndSelection:000000692\r\n -- shift in array of the last char in copied selection SourceURL:http://sun.com/\r\n -- base URL for related referenses ... ........................... ^ ^ ^ ^^ ^ \ StartHTML | \-StartSelection | \EndFragment EndHTML/ \-StartFragment \EndSelection Combinations with tags sequence ...... or ......... are vailid too. | |
| getBaseURL | back to summary |
|---|---|
| public synchronized String getBaseURL() throws IOException | |
| getVersion | back to summary |
|---|---|
| public synchronized String getVersion() throws IOException | |
| parseDescription | back to summary |
|---|---|
| private void parseDescription() throws IOException parseDescription parsing HTML clipboard header as it described in comment to convertToHTMLFormat | |
| read | back to summary |
|---|---|
| public synchronized int read() throws IOException Implements abstract java. Doc from java. Reads the next byte of data from the input stream. The value byte is
returned as an
| |
| toPaddedString | back to summary |
|---|---|
| private static String toPaddedString(int n, int width) | |