CLIUtils¶
-
public class
CLIUtils
¶
Methods¶
getCWD¶
-
public FileObject
getCWD
()¶ Get the current working directory
getLanguage¶
-
public ILanguageImpl
getLanguage
(String languageName)¶ Get a already loaded language by language name
getOrCreateCWDProject¶
getOrCreateProject¶
-
public IProject
getOrCreateProject
(FileObject resource)¶ Get or create project for the given resource
getProject¶
-
public IProject
getProject
(FileObject location)¶ Get project for the given resource
loadLanguage¶
-
public ILanguageImpl
loadLanguage
(FileObject location)¶ Load a language from the directory or archive indicated by location
loadLanguagesFromPath¶
-
public void
loadLanguagesFromPath
()¶ Load languages from the SPOOFAXPATH environment variable
printMessages¶
-
public void
printMessages
(OutputStream os, Iterable<IMessage> messages)¶ Print formatted messages to the given output stream