|
![]() Quark Platform Documentation Version 1.7.0_0 Business Objects |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openquark.cal.services.BasicProgramResourcePathRepository
public class BasicProgramResourcePathRepository
Warning- this class should only be used by the CAL services implementation. It is not part of the external API of the CAL platform.
A repository of program resources in the stand-alone cal workspace.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.openquark.cal.machine.ProgramResourceRepository |
|---|
org.openquark.cal.machine.ProgramResourceRepository.Provider |
| Constructor Summary | |
|---|---|
protected |
BasicProgramResourcePathRepository(ProgramResourcePathMapper pathMapper,
File sourceGenerationRoot)
Constructor for a BasicProgramResourcePathRepository. |
| Method Summary | |
|---|---|
void |
delete(org.openquark.cal.machine.ProgramResourceLocator resourceLocator)
|
void |
delete(org.openquark.cal.machine.ProgramResourceLocator[] resourceLocators)
|
void |
ensureFolderExists(org.openquark.cal.machine.ProgramResourceLocator.Folder folder)
|
boolean |
exists(org.openquark.cal.machine.ProgramResourceLocator resourceLocator)
|
AsynchronousFileWriter |
getAsynchronousFileWriter()
|
InputStream |
getContents(org.openquark.cal.machine.ProgramResourceLocator.File fileLocator)
|
String |
getDebugInfo(org.openquark.cal.machine.ProgramResourceLocator.File fileLocator)
|
File |
getFile(org.openquark.cal.machine.ProgramResourceLocator resourceLocator)
|
String |
getLocationString()
|
org.openquark.cal.machine.ProgramResourceLocator[] |
getMembers(org.openquark.cal.machine.ProgramResourceLocator.Folder folder)
|
ModuleName[] |
getModules()
|
static org.openquark.cal.machine.ProgramResourceRepository.Provider |
getResourceRepositoryProvider(File sourceGenerationRoot)
|
long |
getSize(org.openquark.cal.machine.ProgramResourceLocator.File fileLocator)
|
boolean |
isEmpty()
|
long |
lastModified(org.openquark.cal.machine.ProgramResourceLocator resourceLocator)
|
void |
setContents(org.openquark.cal.machine.ProgramResourceLocator.File fileLocator,
InputStream source)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected BasicProgramResourcePathRepository(ProgramResourcePathMapper pathMapper,
File sourceGenerationRoot)
pathMapper - sourceGenerationRoot - the directory which represents the root of the folder structure which containing
the program resources. This will be the parent of the module folders.| Method Detail |
|---|
public static org.openquark.cal.machine.ProgramResourceRepository.Provider getResourceRepositoryProvider(File sourceGenerationRoot)
sourceGenerationRoot - the root directory with respect to program resource generation.
public InputStream getContents(org.openquark.cal.machine.ProgramResourceLocator.File fileLocator)
throws IOException
getContents in interface org.openquark.cal.machine.ProgramResourceRepositoryIOException
public void setContents(org.openquark.cal.machine.ProgramResourceLocator.File fileLocator,
InputStream source)
throws IOException
setContents in interface org.openquark.cal.machine.ProgramResourceRepositoryIOException
public void ensureFolderExists(org.openquark.cal.machine.ProgramResourceLocator.Folder folder)
throws IOException
ensureFolderExists in interface org.openquark.cal.machine.ProgramResourceRepositoryIOException
public void delete(org.openquark.cal.machine.ProgramResourceLocator resourceLocator)
throws IOException
delete in interface org.openquark.cal.machine.ProgramResourceRepositoryIOException
public void delete(org.openquark.cal.machine.ProgramResourceLocator[] resourceLocators)
throws IOException
delete in interface org.openquark.cal.machine.ProgramResourceRepositoryIOExceptionpublic boolean exists(org.openquark.cal.machine.ProgramResourceLocator resourceLocator)
exists in interface org.openquark.cal.machine.ProgramResourceRepositorypublic long lastModified(org.openquark.cal.machine.ProgramResourceLocator resourceLocator)
lastModified in interface org.openquark.cal.machine.ProgramResourceRepositorypublic org.openquark.cal.machine.ProgramResourceLocator[] getMembers(org.openquark.cal.machine.ProgramResourceLocator.Folder folder)
getMembers in interface org.openquark.cal.machine.ProgramResourceRepositorypublic File getFile(org.openquark.cal.machine.ProgramResourceLocator resourceLocator)
getFile in interface org.openquark.cal.machine.ProgramResourceRepositorypublic boolean isEmpty()
isEmpty in interface org.openquark.cal.machine.ProgramResourceRepositorypublic long getSize(org.openquark.cal.machine.ProgramResourceLocator.File fileLocator)
getSize in interface org.openquark.cal.machine.ProgramResourceRepositorypublic ModuleName[] getModules()
getModules in interface org.openquark.cal.machine.ProgramResourceRepositorypublic String getLocationString()
getLocationString in interface org.openquark.cal.machine.ProgramResourceRepositorypublic String getDebugInfo(org.openquark.cal.machine.ProgramResourceLocator.File fileLocator)
getDebugInfo in interface org.openquark.cal.machine.ProgramResourceRepositorypublic AsynchronousFileWriter getAsynchronousFileWriter()
getAsynchronousFileWriter in interface org.openquark.cal.machine.ProgramResourceRepository
|
![]() Quark Platform Documentation Version 1.7.0_0 Business Objects |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||