com.blackledge.david.game.crossword
Class PuzFile
java.lang.Object
com.blackledge.david.game.crossword.PuzFile
public class PuzFile
- extends Object
Reads in a .puz file (Across Lite format) and makes the raw information available.
Doesn't yet support notes, and currently has an upper limit on clue size it can handle.
Doesn't support any checksum information
Thanks to http://www.joshisanerd.com/puz/
- Version:
- $Revision$
- Author:
- David Blackledge (http://david.blackledge.com)
PuzFile
public PuzFile(InputStream stream)
throws IOException
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
main
public static void main(String[] args)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
getClues
public String[] getClues()
- Returns:
- all clues for this puzzle. in numeric order, across before
down when there are two sharing same number.
getHeight
public byte getHeight()
getWidth
public byte getWidth()
getGrid
public String getGrid()
getSolution
public String getSolution()
getAuthor
public String getAuthor()
getCopyright
public String getCopyright()
getTitle
public String getTitle()
getNumClues
public short getNumClues()