public class BuffersInputStream.Line
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
asString() |
java.lang.String |
asString(int offset,
int limit)
Returns a part of the line as a string for debugging.
|
int |
findBytes(int offset,
byte[] s)
Find the next occurrence of s in the line.
|
int |
findBytes(int offset,
int limit,
byte[] s)
Find the next occurrence of s in the line.
|
int |
length()
Length of line in bytes
|
public int length()
public java.lang.String asString()
public java.lang.String asString(int offset, int limit)
offset
- start of stringlimit
- end of stringpublic int findBytes(int offset, byte[] s)
offset
- where to start lookings
- byte sequence to look forpublic int findBytes(int offset, int limit, byte[] s)
offset
- where to start lookinglimit
- how far to looks
- byte sequence to look forCopyright (C) 2003-2021 SQLstream, Inc.