Class FileContext

java.lang.Object
io.bit3.jsass.context.AbstractContext
io.bit3.jsass.context.FileContext
All Implemented Interfaces:
Context, java.io.Serializable

public class FileContext
extends AbstractContext
A context to compile a file from the filesystem.
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    FileContext​(java.net.URI inputPath, java.net.URI outputPath, Options options)
    Create a new string context.
  • Method Summary

    Methods inherited from class io.bit3.jsass.context.AbstractContext

    getInputPath, getOptions, getOutputPath

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FileContext

      public FileContext​(java.net.URI inputPath, java.net.URI outputPath, Options options)
      Create a new string context.
      Parameters:
      inputPath - The input path to read the file from.
      outputPath - The output path to write the file to, or null to in-memory compilation.
      options - The compiler options.