/** * Return the raw input stream for the data stream. * * @return InputStream */ public InputStream getInputStream() { return data.getInputStream(); }
/** * Return the modification time for the file. * * @return the modification time. */ public Date getModificationTime() { return new Date(data.getModificationTime()); }
/** * Return the file name that's associated with the data stream. * * @return String */ public String getFileName() { return data.getFileName(); }
/** Return the file name as an unintrepreted byte array. */ public byte[] getRawFileName() { return data.getRawFileName(); }
/** * Return the format of the data stream - BINARY or TEXT. * * @return int */ public int getFormat() { return data.getFormat(); }