|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjpov.JpoFile
This class defines a JPO file. That corresponds to a file and its associated informations stored into a JML file structure.
Constructor Summary | |
JpoFile(IJml2bConfiguration config,
java.lang.String name)
Constucts a JPO file from a given repository and a given name. |
Method Summary | |
void |
close()
|
void |
finalizeLoad()
|
java.io.File |
getDirectory()
Returns the repository |
JmlFile |
getJmlFile()
Returns the associated JML file |
java.lang.String |
getJpoName()
Returns the JPO file name with the extension |
java.lang.String |
getName()
Returns the JPO file name |
int |
getNumPos()
Returns the number of proof obligations. |
static JmlFile |
loadJmlFile(IJml2bConfiguration configuration,
java.lang.String name)
Loads a JPO file |
void |
save()
Saves the file into a .jpo file and save the proof status into a .pmi file. |
void |
unprove()
Sets all the lemma to unprove |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JpoFile(IJml2bConfiguration config, java.lang.String name) throws java.io.IOException, LoadException
name
- The file nameMethod Detail |
public static JmlFile loadJmlFile(IJml2bConfiguration configuration, java.lang.String name) throws java.io.IOException, LoadException
name
- The name of the file without the .jpo extension
java.io.IOException
LoadException
public void save() throws java.io.IOException
java.io.IOException
public void unprove()
public int getNumPos()
public java.lang.String getJpoName()
public java.lang.String getName()
mchName
public JmlFile getJmlFile()
jmlfile
public java.io.File getDirectory()
directory
public void close() throws java.io.IOException
java.io.IOException
public void finalizeLoad()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |