/** * @deprecated Unused. Will be removed in Tomcat 8.0.x onwards. */ @Deprecated public int substract(CharChunk src) throws IOException { if ((end - start) == 0) { if (in == null) { return -1; } int n = in.realReadChars( buff, end, buff.length - end); if (n < 0) { return -1; } } int len = getLength(); src.append(buff, start, len); start = end; return len; }
/** * @deprecated Unused. Will be removed in Tomcat 8.0.x onwards. */ @Deprecated public int substract(CharChunk src) throws IOException { if ((end - start) == 0) { if (in == null) { return -1; } int n = in.realReadChars( buff, end, buff.length - end); if (n < 0) { return -1; } } int len = getLength(); src.append(buff, start, len); start = end; return len; }
public int substract( char src[], int off, int len ) throws IOException { if ((end - start) == 0) { if (in == null) { return -1; } int n = in.realReadChars( buff, end, buff.length - end); if (n < 0) { return -1; } } int n = len; if (len > getLength()) { n = getLength(); } System.arraycopy(buff, start, src, off, n); start += n; return n; }
public int substract( char src[], int off, int len ) throws IOException { if ((end - start) == 0) { if (in == null) { return -1; } int n = in.realReadChars( buff, end, buff.length - end); if (n < 0) { return -1; } } int n = len; if (len > getLength()) { n = getLength(); } System.arraycopy(buff, start, src, off, n); start += n; return n; }
public int substract( char src[], int off, int len ) throws IOException { if ((end - start) == 0) { if (in == null) { return -1; } int n = in.realReadChars( buff, end, buff.length - end); if (n < 0) { return -1; } } int n = len; if (len > getLength()) { n = getLength(); } System.arraycopy(buff, start, src, off, n); start += n; return n; }
public int substract( char src[], int off, int len ) throws IOException { if ((end - start) == 0) { if (in == null) return -1; int n = in.realReadChars( buff, end, buff.length - end); if (n < 0) return -1; } int n = len; if (len > getLength()) { n = getLength(); } System.arraycopy(buff, start, src, off, n); start += n; return n; }
public int substract( char src[], int off, int len ) throws IOException { if ((end - start) == 0) { if (in == null) return -1; int n = in.realReadChars( buff, end, buff.length - end); if (n < 0) return -1; } int n = len; if (len > getLength()) { n = getLength(); } System.arraycopy(buff, start, src, off, n); start += n; return n; }
public int substract( char src[], int off, int len ) throws IOException { if ((end - start) == 0) { if (in == null) return -1; int n = in.realReadChars( buff, end, buff.length - end); if (n < 0) return -1; } int n = len; if (len > getLength()) { n = getLength(); } System.arraycopy(buff, start, src, off, n); start += n; return n; }
public int substract( char src[], int off, int len ) throws IOException { if ((end - start) == 0) { if (in == null) return -1; int n = in.realReadChars( buff, end, buff.length - end); if (n < 0) return -1; } int n = len; if (len > getLength()) { n = getLength(); } System.arraycopy(buff, start, src, off, n); start += n; return n; }
public int substract(CharChunk src) throws IOException { if ((end - start) == 0) { if (in == null) return -1; int n = in.realReadChars( buff, end, buff.length - end); if (n < 0) return -1; } int len = getLength(); src.append(buff, start, len); start = end; return len; }
public int substract(CharChunk src) throws IOException { if ((end - start) == 0) { if (in == null) return -1; int n = in.realReadChars( buff, end, buff.length - end); if (n < 0) return -1; } int len = getLength(); src.append(buff, start, len); start = end; return len; }
public int substract() throws IOException { if ((end - start) == 0) { if (in == null) { return -1; } int n = in.realReadChars(buff, end, buff.length - end); if (n < 0) { return -1; } } return (buff[start++]); }
public int substract(CharChunk src) throws IOException { if ((end - start) == 0) { if (in == null) return -1; int n = in.realReadChars( buff, end, buff.length - end); if (n < 0) return -1; } int len = getLength(); src.append(buff, start, len); start = end; return len; }
public int substract(CharChunk src) throws IOException { if ((end - start) == 0) { if (in == null) return -1; int n = in.realReadChars( buff, end, buff.length - end); if (n < 0) return -1; } int len = getLength(); src.append(buff, start, len); start = end; return len; }
public int substract() throws IOException { if ((end - start) == 0) { if (in == null) return -1; int n = in.realReadChars(buff, end, buff.length - end); if (n < 0) return -1; } return (buff[start++]); }
private boolean checkEof() throws IOException { if ((end - start) == 0) { if (in == null) { return true; } int n = in.realReadChars(); if (n < 0) { return true; } } return false; }
public int substract() throws IOException { if ((end - start) == 0) { if (in == null) { return -1; } int n = in.realReadChars(buff, end, buff.length - end); if (n < 0) { return -1; } } return (buff[start++]); }
public int substract() throws IOException { if ((end - start) == 0) { if (in == null) { return -1; } int n = in.realReadChars(buff, end, buff.length - end); if (n < 0) { return -1; } } return (buff[start++]); }
public int substract() throws IOException { if ((end - start) == 0) { if (in == null) return -1; int n = in.realReadChars(buff, end, buff.length - end); if (n < 0) return -1; } return (buff[start++]); }
public int substract() throws IOException { if ((end - start) == 0) { if (in == null) return -1; int n = in.realReadChars(buff, end, buff.length - end); if (n < 0) return -1; } return (buff[start++]); }