public final class ScriptUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
readScript(String resourceName)
Read a script into a single-line string suitable for use in a Redis
EVAL statement. |
public static String readScript(String resourceName) throws IOException
EVAL statement.resourceName - the name of the script resource to readIOException - if something goes wrongCopyright © 2011–2019. All rights reserved.