public static class LSContextManager.NullSourceDirectory extends Object implements SourceDirectory
Constructor and Description |
---|
NullSourceDirectory(Path projectDir,
WorkspaceDocumentManager documentManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(Path dirPath) |
Converter<Path> |
getConverter() |
InputStream |
getLockFileContent() |
InputStream |
getManifestContent() |
Path |
getPath() |
List<String> |
getSourceFileNames() |
List<String> |
getSourcePackageNames() |
void |
saveCompiledPackage(CompiledPackage compiledPackage,
Path dirPath,
String fileName) |
Path |
saveCompiledProgram(InputStream source,
String fileName) |
public NullSourceDirectory(Path projectDir, WorkspaceDocumentManager documentManager)
public boolean canHandle(Path dirPath)
canHandle
in interface SourceDirectory
public Path getPath()
getPath
in interface SourceDirectory
public List<String> getSourceFileNames()
getSourceFileNames
in interface SourceDirectory
public List<String> getSourcePackageNames()
getSourcePackageNames
in interface SourceDirectory
public InputStream getManifestContent()
getManifestContent
in interface SourceDirectory
public InputStream getLockFileContent()
getLockFileContent
in interface SourceDirectory
public Path saveCompiledProgram(InputStream source, String fileName)
saveCompiledProgram
in interface SourceDirectory
public void saveCompiledPackage(CompiledPackage compiledPackage, Path dirPath, String fileName) throws IOException
saveCompiledPackage
in interface SourceDirectory
IOException
public Converter<Path> getConverter()
getConverter
in interface SourceDirectory
Copyright © 2019 WSO2. All rights reserved.