public static final class FileIO.ReadableFile
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(@Nullable java.lang.Object o) | 
| Compression | getCompression()Returns the method with which this file will be decompressed in  open(). | 
| MatchResult.Metadata | getMetadata()Returns the  MatchResult.Metadataof the file. | 
| int | hashCode() | 
| java.nio.channels.ReadableByteChannel | open()Returns a  ReadableByteChannelreading the data from this file, potentially
 decompressing it usinggetCompression(). | 
| java.nio.channels.SeekableByteChannel | openSeekable() | 
| byte[] | readFullyAsBytes()Returns the full contents of the file as bytes. | 
| java.lang.String | readFullyAsUTF8String()Returns the full contents of the file as a  Stringdecoded as UTF-8. | 
| java.lang.String | toString() | 
public MatchResult.Metadata getMetadata()
MatchResult.Metadata of the file.public Compression getCompression()
open().public java.nio.channels.ReadableByteChannel open()
                                           throws java.io.IOException
ReadableByteChannel reading the data from this file, potentially
 decompressing it using getCompression().java.io.IOExceptionpublic java.nio.channels.SeekableByteChannel openSeekable()
                                                   throws java.io.IOException
java.io.IOExceptionpublic byte[] readFullyAsBytes()
                        throws java.io.IOException
java.io.IOExceptionpublic java.lang.String readFullyAsUTF8String()
                                       throws java.io.IOException
String decoded as UTF-8.java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(@Nullable java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object