Class SassResourceUtil
- java.lang.Object
-
- de.larsgrefer.sass.embedded.spring.SassResourceUtil
-
public final class SassResourceUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ByteString
getByteString(Resource resource)
static com.sass_lang.embedded_protocol.InboundMessage.CompileRequest.StringInput
toStringInput(Resource resource)
static com.sass_lang.embedded_protocol.InboundMessage.CompileRequest.StringInput
toStringInput(Resource resource, com.sass_lang.embedded_protocol.Syntax syntax)
-
-
-
Method Detail
-
toStringInput
public static com.sass_lang.embedded_protocol.InboundMessage.CompileRequest.StringInput toStringInput(Resource resource) throws IOException
- Throws:
IOException
-
toStringInput
public static com.sass_lang.embedded_protocol.InboundMessage.CompileRequest.StringInput toStringInput(Resource resource, com.sass_lang.embedded_protocol.Syntax syntax) throws IOException
- Throws:
IOException
-
getByteString
public static ByteString getByteString(Resource resource) throws IOException
- Throws:
IOException
-
-