Class Patterns
- java.lang.Object
-
- org.apache.sling.scripting.sightly.impl.compiler.Patterns
-
public final class Patterns extends Object
ThePatternsclass provides various static methods that implement commonly used stream processing commands.
-
-
Constructor Summary
Constructors Constructor Description Patterns()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidbeginStreamIgnore(PushStream stream)Inserts a sequence of commands that will ignore the rest of the stream until the end stream sequence is insertedstatic voidendStreamIgnore(PushStream stream)Inserts a sequence of commands that cancels stream ignore
-
-
-
Method Detail
-
beginStreamIgnore
public static void beginStreamIgnore(PushStream stream)
Inserts a sequence of commands that will ignore the rest of the stream until the end stream sequence is inserted- Parameters:
stream- - the stream
-
endStreamIgnore
public static void endStreamIgnore(PushStream stream)
Inserts a sequence of commands that cancels stream ignore- Parameters:
stream- - the input stream
-
-