Class PNGContainerReader

java.lang.Object
net.mtrop.doom.struct.io.PNGContainerReader
All Implemented Interfaces:
AutoCloseable

public class PNGContainerReader extends Object implements AutoCloseable
  • Constructor Details

    • PNGContainerReader

      public PNGContainerReader(File f) throws IOException
      Creates a new PNG container reader from a file.
      Parameters:
      f - the file to read.
      Throws:
      IOException - if a read error occurs or this is not a PNG file.
    • PNGContainerReader

      public PNGContainerReader(InputStream i) throws IOException
      Creates a new PNG container reader using an input stream.
      Parameters:
      i - the input stream to read.
      Throws:
      IOException - if a read error occurs or this is not PNG data.
  • Method Details