project35.desktopDeployment
Class WorkspaceFileFinder
java.lang.Object
project35.desktopDeployment.WorkspaceFiles
project35.desktopDeployment.WorkspaceFileFinder
public class WorkspaceFileFinder
- extends WorkspaceFiles
class which uses knowledge about how a model folder is laid out
to derive properties which are managed in Workspace and ultimately
Project35ApplicationContext.
The default directory structure should be:
./models/[YourModel]
-->model
-->img
-->resources
-->doc
-->config
or for when locales are being used:
./models/[YourModel]
-->model
-->img
-->[locale eg: "en", "de"...]
-->resources
-->doc
-->config
Copyright (c) 2008 Kevin Garwood for Project35. The original code was
developed by Kevin Garwood for the University of Manchester. Revisions
have been made for Project35, a project that is independent of that
institution. This code is licensed under the Academic Free License
version 3.0. The code attribution for the original code is included here:
Copyright (c) Kevin Garwood and University of Manchester 2007.
All rights reserved. Licensed under the Academic Free License
version 3.0. For more information on the terms and conditions,
please see the file "LICENSE" that is included in this distribution.
- Version:
- 1.0
- Author:
- Kevin Garwood (kgarwood@users.sourceforge.net)
Constructor Summary |
WorkspaceFileFinder(java.lang.String modelDirectoryPath,
boolean ignoreConfigurationFile)
|
WorkspaceFileFinder(java.lang.String project35StartupDirectory,
java.lang.String selectedModel,
boolean ignoreConfigurationFile)
|
Methods inherited from class project35.desktopDeployment.WorkspaceFiles |
createFileDoesNotExistError, determineJARFileHelpDirectory, findHelpDirectory, findIconDirectory, getDocumentDirectory, getFileExtensionsToLaunchURL, getHelpDirectory, getLibraryDirectory, getMainConfigurationURL, getModelDirectory, getResourceDirectory, getSchema, getSessionFile, getURLFromFile, print, setModelDirectory, setSessionFile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkspaceFileFinder
public WorkspaceFileFinder(java.lang.String modelDirectoryPath,
boolean ignoreConfigurationFile)
throws Project35Exception
- Throws:
Project35Exception
WorkspaceFileFinder
public WorkspaceFileFinder(java.lang.String project35StartupDirectory,
java.lang.String selectedModel,
boolean ignoreConfigurationFile)
throws Project35Exception
- Throws:
Project35Exception
findMainConfigurationFile
public void findMainConfigurationFile(java.lang.String configurationDirectory)
throws Project35Exception
- Throws:
Project35Exception
getMainConfigurationFile
public java.io.File getMainConfigurationFile(java.lang.String configurationDirectory)
- ==============================================
Determine Configuration files
==============================================
findFileExtensionsFile
public void findFileExtensionsFile(java.lang.String configurationDirectory)
findSessionFile
public void findSessionFile(java.lang.String configurationDirectory)