Java Doc for KeYFile.java in  » Testing » KeY » de » uka » ilkd » key » proof » init » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Testing » KeY » de.uka.ilkd.key.proof.init 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   de.uka.ilkd.key.proof.init.KeYFile

All known Subclasses:   de.uka.ilkd.key.proof.init.KeYUserProblemFile,  de.uka.ilkd.key.proof.init.KeYFileForTests,
KeYFile
public class KeYFile implements EnvInput(Code)
represents an input from a .key file producing an environment.


Field Summary
protected  RuleSourcefile
     the RuleSource delivering the input stream for the file.
protected  InitConfiginitConfig
     the initial configuration to be used (and modified) while reading.
protected  InputStreaminput
    
protected  StringjavaPath
    
protected  LinkedHashMapmethod2jmlspecs
     maps methods to their jml specifications.
protected  ProgressMonitormonitor
     the graphical entity to notify on the state of reading.
protected  KeYParserproblemParser
    
protected  ProofSettingssettings
    

Constructor Summary
public  KeYFile(String name, File file)
     creates a new representation for a given file by indicating a name and a file representing the physical source of the .key file.
public  KeYFile(String name, File file, ProgressMonitor monitor)
     creates a new representation for a given file by indicating a name and a file representing the physical source of the .key file.
public  KeYFile(String name, RuleSource file, ProgressMonitor monitor)
     creates a new representation for a given file by indicating a name and a RuleSource representing the physical source of the .key file.

Method Summary
public  voidclose()
    
public  booleanequals(Object o)
    
public  InitConfiggetInitConfig()
     returns the initial configuration that is used to read and that may be modified by reading.
protected  InputStreamgetNewStream()
    
public  intgetNumberOfChars()
     returns the number of chars in the .key file.
public  Contractable[]getObjectOfContract()
    
public  ProofSettingsgetPreferences()
    
public  inthashCode()
    
public  booleaninitContract(Contract ct)
    
public  Stringname()
    
public  voidread(ModStrategy mod)
     reads the whole .key file and modifies the initial configuration assigned to this object according to the given modification strategy.
public  voidreadFuncAndPred(ModStrategy mod)
     reads the functions and predicates declared in the .key file only, modifying the function namespaces of the respective taclet options.
public  IncludesreadIncludes()
    
public  StringreadJavaPath()
    
public  LibrariesSettingsreadLibrariesSettings()
    
public  voidreadProblem(ModStrategy mod)
    
public  voidreadProof(ProblemLoader prl)
    
public  voidreadRulesAndProblem(ModStrategy mod)
     reads the rules and problems declared in the .key file only, modifying the set of rules of the initial configuration if allowed in the given modification strategy.
public  voidreadSorts(ModStrategy mod)
     reads the sorts declaration of the .key file only, modifying the sort namespace of the initial configuration if allowed in the given modification strategy.
public  voidsetInitConfig(InitConfig conf)
    
protected  NamespaceSetsetupSchemaNamespace(NamespaceSet normal)
     when reading in rules modal schema operators and schemavariables are added to the namespace, but shall not occur in the normal function namespaces.
public  StringtoString()
    

Field Detail
file
protected RuleSource file(Code)
the RuleSource delivering the input stream for the file.



initConfig
protected InitConfig initConfig(Code)
the initial configuration to be used (and modified) while reading.



input
protected InputStream input(Code)



javaPath
protected String javaPath(Code)



method2jmlspecs
protected LinkedHashMap method2jmlspecs(Code)
maps methods to their jml specifications.



monitor
protected ProgressMonitor monitor(Code)
the graphical entity to notify on the state of reading.



problemParser
protected KeYParser problemParser(Code)



settings
protected ProofSettings settings(Code)




Constructor Detail
KeYFile
public KeYFile(String name, File file)(Code)
creates a new representation for a given file by indicating a name and a file representing the physical source of the .key file.



KeYFile
public KeYFile(String name, File file, ProgressMonitor monitor)(Code)
creates a new representation for a given file by indicating a name and a file representing the physical source of the .key file.
Parameters:
  monitor - the progress monitor to notify on the state of reading



KeYFile
public KeYFile(String name, RuleSource file, ProgressMonitor monitor)(Code)
creates a new representation for a given file by indicating a name and a RuleSource representing the physical source of the .key file.
Parameters:
  monitor - the progress monitor to notify on the state of reading




Method Detail
close
public void close()(Code)



equals
public boolean equals(Object o)(Code)



getInitConfig
public InitConfig getInitConfig()(Code)
returns the initial configuration that is used to read and that may be modified by reading.



getNewStream
protected InputStream getNewStream() throws FileNotFoundException(Code)



getNumberOfChars
public int getNumberOfChars()(Code)
returns the number of chars in the .key file.



getObjectOfContract
public Contractable[] getObjectOfContract()(Code)



getPreferences
public ProofSettings getPreferences() throws ProofInputException(Code)



hashCode
public int hashCode()(Code)



initContract
public boolean initContract(Contract ct)(Code)



name
public String name()(Code)
returns the name of the .key file



read
public void read(ModStrategy mod) throws ProofInputException(Code)
reads the whole .key file and modifies the initial configuration assigned to this object according to the given modification strategy. Throws an exception if no initial configuration has been set yet.



readFuncAndPred
public void readFuncAndPred(ModStrategy mod) throws ProofInputException(Code)
reads the functions and predicates declared in the .key file only, modifying the function namespaces of the respective taclet options.



readIncludes
public Includes readIncludes() throws ProofInputException(Code)



readJavaPath
public String readJavaPath() throws ProofInputException(Code)



readLibrariesSettings
public LibrariesSettings readLibrariesSettings() throws ProofInputException(Code)



readProblem
public void readProblem(ModStrategy mod) throws ProofInputException(Code)



readProof
public void readProof(ProblemLoader prl) throws ProofInputException(Code)
reads a saved proof of a .key file



readRulesAndProblem
public void readRulesAndProblem(ModStrategy mod) throws ProofInputException(Code)
reads the rules and problems declared in the .key file only, modifying the set of rules of the initial configuration if allowed in the given modification strategy.



readSorts
public void readSorts(ModStrategy mod) throws ProofInputException(Code)
reads the sorts declaration of the .key file only, modifying the sort namespace of the initial configuration if allowed in the given modification strategy.



setInitConfig
public void setInitConfig(InitConfig conf)(Code)



setupSchemaNamespace
protected NamespaceSet setupSchemaNamespace(NamespaceSet normal)(Code)
when reading in rules modal schema operators and schemavariables are added to the namespace, but shall not occur in the normal function namespaces. Therefore we take the given namespaces and use copies of the normal function and variables namespace TODO: extend the normal namespace by a generic sort and schema function namespace and get rid of the schemaConfig...
Parameters:
  normal - the Namespace containing the concrete symbols namespace for reading in rules etc.



toString
public String toString()(Code)



Methods inherited from java.lang.Object
protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final public void notify() throws IllegalMonitorStateException(Code)(Java Doc)
final public void notifyAll() throws IllegalMonitorStateException(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final public void wait() throws IllegalMonitorStateException, InterruptedException(Code)(Java Doc)
final public void wait(long ms) throws IllegalMonitorStateException, InterruptedException(Code)(Java Doc)
final public void wait(long ms, int ns) throws IllegalMonitorStateException, InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.