/** * Get the "mode" field from the prefix. This is the permission * mode of the source file. * * @return permission mode of source file * @exception IOException if an I/O error occurs. */ public int getMode() throws IOException { readPrefix(); return mode; }
/** * Get the "name" field from the prefix. This is meant to * be the pathname of the decoded file * * @return name of decoded file * @exception IOException if an I/O error occurs. */ public String getName() throws IOException { readPrefix(); return name; }
/** * Get the "mode" field from the prefix. This is the permission * mode of the source file. * * @return permission mode of source file * @exception IOException if an I/O error occurs. */ public int getMode() throws IOException { readPrefix(); return mode; }
/** * Get the "name" field from the prefix. This is meant to * be the pathname of the decoded file * * @return name of decoded file * @exception IOException if an I/O error occurs. */ public String getName() throws IOException { readPrefix(); return name; }
/** * Read the next decoded byte from this input stream. The byte * is returned as an <code>int</code> in the range <code>0</code> * to <code>255</code>. If no byte is available because the end of * the stream has been reached, the value <code>-1</code> is returned. * This method blocks until input data is available, the end of the * stream is detected, or an exception is thrown. * * @return next byte of data, or <code>-1</code> if the end of * stream is reached. * @exception IOException if an I/O error occurs. * @see java.io.FilterInputStream#in */ public int read() throws IOException { if (index >= bufsize) { readPrefix(); if (!decode()) return -1; index = 0; // reset index into buffer } return buffer[index++] & 0xff; // return lower byte }
/** * Read the next decoded byte from this input stream. The byte * is returned as an <code>int</code> in the range <code>0</code> * to <code>255</code>. If no byte is available because the end of * the stream has been reached, the value <code>-1</code> is returned. * This method blocks until input data is available, the end of the * stream is detected, or an exception is thrown. * * @return next byte of data, or <code>-1</code> if the end of * stream is reached. * @exception IOException if an I/O error occurs. * @see java.io.FilterInputStream#in */ @Override public int read() throws IOException { if (index >= bufsize) { readPrefix(); if (!decode()) return -1; index = 0; // reset index into buffer } return buffer[index++] & 0xff; // return lower byte }
/** * Get the "mode" field from the prefix. This is the permission * mode of the source file. * * @return permission mode of source file * @exception IOException if an I/O error occurs. */ public int getMode() throws IOException { readPrefix(); return mode; }
/** * Get the "name" field from the prefix. This is meant to * be the pathname of the decoded file * * @return name of decoded file * @exception IOException if an I/O error occurs. */ public String getName() throws IOException { readPrefix(); return name; }
/** * Get the "name" field from the prefix. This is meant to * be the pathname of the decoded file * * @return name of decoded file * @exception IOException if an I/O error occurs. */ public String getName() throws IOException { readPrefix(); return name; }
/** * Get the "mode" field from the prefix. This is the permission * mode of the source file. * * @return permission mode of source file * @exception IOException if an I/O error occurs. */ public int getMode() throws IOException { readPrefix(); return mode; }
/** * Get the "mode" field from the prefix. This is the permission * mode of the source file. * * @return permission mode of source file * @exception IOException if an I/O error occurs. */ public int getMode() throws IOException { readPrefix(); return mode; }
/** * Get the "name" field from the prefix. This is meant to * be the pathname of the decoded file * * @return name of decoded file * @exception IOException if an I/O error occurs. */ public String getName() throws IOException { readPrefix(); return name; }
/** * Get the "name" field from the prefix. This is meant to * be the pathname of the decoded file * * @return name of decoded file * @exception IOException if an I/O error occurs. */ public String getName() throws IOException { readPrefix(); return name; }
/** * Get the "mode" field from the prefix. This is the permission * mode of the source file. * * @return permission mode of source file * @exception IOException if an I/O error occurs. */ public int getMode() throws IOException { readPrefix(); return mode; }
/** * Get the "name" field from the prefix. This is meant to * be the pathname of the decoded file * * @return name of decoded file * @exception IOException if an I/O error occurs. */ public String getName() throws IOException { readPrefix(); return name; }
/** * Get the "name" field from the prefix. This is meant to * be the pathname of the decoded file * * @return name of decoded file * @exception IOException if an I/O error occurs. */ public String getName() throws IOException { readPrefix(); return name; }
/** * Get the "mode" field from the prefix. This is the permission * mode of the source file. * * @return permission mode of source file * @exception IOException if an I/O error occurs. */ public int getMode() throws IOException { readPrefix(); return mode; }
/** * Get the "name" field from the prefix. This is meant to * be the pathname of the decoded file * * @return name of decoded file * @exception IOException if an I/O error occurs. */ public String getName() throws IOException { readPrefix(); return name; }
/** * Get the "mode" field from the prefix. This is the permission * mode of the source file. * * @return permission mode of source file * @exception IOException if an I/O error occurs. */ public int getMode() throws IOException { readPrefix(); return mode; }
/** * Get the "mode" field from the prefix. This is the permission * mode of the source file. * * @return permission mode of source file * @exception IOException if an I/O error occurs. */ public int getMode() throws IOException { readPrefix(); return mode; }