content
Le contenu du fichier.
FormuleStorage
, JavaSourceStorage
ScriptStorage
,
RuleStorage
,
ExportStorage
,
SimulationPlanStorage
,
SensitivityAnalysisStorage
SensitivityExportStorage
Created: 21 janv. 2006 15:20:24static enum
protected String
protected long
protected long
protected String
file, root
protected
CodeSourceStorage(File rootSrc,
File directory,
String name,
String suffix)
boolean
exists()
getFiles(boolean withParent)
getName()
protected static CodeSourceStorage.Location
nonEmptyLocation(CodeSourceStorage.Location... location)
protected void
prepare()
void
reload()
void
setContent(String content)
void
setContent(String content,
boolean saveToFile)
add, checkout, commit, delete, diff, getCommunityDatabaseDirectory, getCommunityVCS, getContextDatabaseDirectory, getCurrentVCS, getCurrentVCS, getFile, getFiles, getRemoteStorageNames, getRoot, getStorageNames, getVCS, isOnRemote, isUpToDate, isVersionnableFile, registerWatcher, update
rootSrc
- repertoire racine des sourcesdirectory
- le repertoire ou devrait se trouver la classe. Ce
répertoire doit etre un sous répertoire de rootSrcname
- le nom de la classesuffix
- l'extension des fichierslocation
- current location (if empty, return CodeSourceStorage.Location.ALL
.VersionStorage
prepare
in class VersionStorage
VersionStorage
getFiles
in class VersionStorage
withParent
- si vrai inclu les parentstrue
if storage file existsreload()
}content
- new contentIOException
content
- new contentsaveToFile
- if true
also save content to fileIOException