Class PreprocessorUtils
- java.lang.Object
-
- net.sourceforge.plantuml.preproc2.PreprocessorUtils
-
public class PreprocessorUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PreprocessorUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Stringgetenv(java.lang.String var)static ReadLinegetReaderInclude(SURL url, StringLocated s, java.nio.charset.Charset charset)static ReadLinegetReaderIncludeUrl(SURL url, StringLocated s, java.lang.String suf, java.nio.charset.Charset charset)static ReadLinegetReaderNonstandardInclude(StringLocated s, java.lang.String filename)static ReadLinegetReaderStdlibInclude(StringLocated s, java.lang.String filename)static java.lang.StringwithEnvironmentVariable(java.lang.String s)
-
-
-
Method Detail
-
withEnvironmentVariable
public static java.lang.String withEnvironmentVariable(java.lang.String s)
-
getenv
public static java.lang.String getenv(java.lang.String var)
-
getReaderNonstandardInclude
public static ReadLine getReaderNonstandardInclude(StringLocated s, java.lang.String filename)
-
getReaderStdlibInclude
public static ReadLine getReaderStdlibInclude(StringLocated s, java.lang.String filename)
-
getReaderIncludeUrl
public static ReadLine getReaderIncludeUrl(SURL url, StringLocated s, java.lang.String suf, java.nio.charset.Charset charset) throws EaterException
- Throws:
EaterException
-
getReaderInclude
public static ReadLine getReaderInclude(SURL url, StringLocated s, java.nio.charset.Charset charset) throws EaterException, java.io.UnsupportedEncodingException
- Throws:
EaterExceptionjava.io.UnsupportedEncodingException
-
-