This chapter provides a complete listing and reference for the methods in the OpenScript HyperionLoadService Class of Hyperion Load Module Application Programming Interface (API).
The following section provides an alphabetical listing of the methods in the OpenScript HyperionLoadService API.
The following table lists the HyperionLoadService API methods in alphabetical order.
Table 7-1 List of HyperionLoadService Methods
Method | Description |
---|---|
Gets an implementation class of IEncoder, providing an encode method of replacing '\n' to '@'. |
|
Gets an implementation class of IEncoder, providing an encode method of replacing '\' plus '\n' to "\r\n". |
|
Gets an implementation class of IEncoder, providing an encode method of replacing '\' plus '\n' to '\n'. |
|
Gets an implementation class of IEncoder, providing an encode method of replacing '\n' to "\r\n*". |
|
Gets an implementation class of IEncoder, providing an encode method of replacing '\n' to '*'. |
The following sections provide detailed reference information for each method and enum in the HyperionLoadService Class of Hyperion Load Module Application Programming Interface.
Gets an implementation class of IEncoder, providing an encode method of replacing 'n' to '@'. Will be used to provide custom encode options.
The hyperion.getAtSignEncoder method has the following command format(s):
hyperion.getAtSignEncoder( );
an implementation class of IEncoder, providing an encode method of replacing newlines to '@'.
Performs an encode action replacing replacing newlines to '@'.
String str_withnewline = "test\nclassofIEcoder"; String str_line = "test\\nclassofIEcoder"; { String str_getAtSign = hyperion.getAtSignEncoder().encode(str_withnewline); String str_getAtSign1 = hyperion.getAtSignEncoder().encode(str_line); * if (str_getAtSign.equals("test@classofIEcoder")) info("API getAtSignEncoder().encode() passed!"); else warn("API getAtSignEncoder().encode() failed!"); if (str_getAtSign1.equals("test\\nclassofIEcoder")) info("API getAtSignEncoder().encode() passed!"); else warn("API getAtSignEncoder().encode() failed!"); if (hyperion.getAtSignEncoder().getEncoderName().equals("getAtSignEncoder")) info("API getAtSignEncoder().getEncoderName() passed!"); else warn("API getAtSignEncoder().getEncoderName() failed!"); }
Gets an implementation class of IEncoder, providing an encode method of replacing '' plus 'n' to "rn". Will be used to provide custom encode options.
The hyperion.getBNToCRLFEncoder method has the following command format(s):
hyperion.getBNToCRLFEncoder( );
an implementation class of IEncoder, providing an encode method of replacing '\' plus '\n' to "\r\n".
Performs an encode action replacing replacing '' plus 'n' to "rn".
String str_withnewline = "test\nclassofIEcoder"; String str_line = "test\\nclassofIEcoder"; { String getBNToCRLF = hyperion.getBNToCRLFEncoder().encode(str_withnewline); String getBNToCRLF1 = hyperion.getBNToCRLFEncoder().encode(str_line); if (getBNToCRLF.equals("test\nclassofIEcoder")) info("API getBNToCRLFEncoder().encode() passed!"); else warn("API getBNToCRLFEncoder().encode() failed!"); if (getBNToCRLF1.equals("test\r\nclassofIEcoder")) info("API getBNToCRLFEncoder().encode() passed!"); else warn("API getBNToCRLFEncoder().encode() failed!"); if (hyperion.getBNToCRLFEncoder().getEncoderName().equals("getBNToCRLFEncoder")) info("API getBNToCRLFEncoder().getEncoderName() passed!"); else warn("API getBNToCRLFEncoder().getEncoderName() failed!"); }
Gets an implementation class of IEncoder, providing an encode method of replacing '' plus 'n' to 'n'. Will be used to provide custom encode options.
The hyperion.getBNToLFEncoder method has the following command format(s):
hyperion.getBNToLFEncoder( );
an implementation class of IEncoder, providing an encode method of replacing '\' plus '\n' to '\n'.
Performs an encode action replacing replacing '' plus 'n' to 'n'.
String str_withnewline = "test\nclassofIEcoder"; String str_line = "test\\nclassofIEcoder"; { String getBNToLF = hyperion.getBNToLFEncoder().encode(str_withnewline); String getBNToLF1 = hyperion.getBNToLFEncoder().encode(str_line); if (getBNToLF.equals("test\nclassofIEcoder")) info("API getBNToLFEncoder().encode() passed!"); else warn("API getBNToLFEncoder().encode() failed!"); if (getBNToLF1.equals("test\nclassofIEcoder")) info("API getBNToLFEncoder().encode() passed!"); else warn("API getBNToLFEncoder().encode() failed!"); if (hyperion.getBNToLFEncoder().getEncoderName().equals("getBNToLFEncoder")) info("API getBNToLFEncoder().getEncoderName() passed!"); else warn("API getBNToLFEncoder().getEncoderName() failed!"); }
Gets an implementation class of IEncoder, providing an encode method of replacing 'n' to "rn*". Will be used to provide custom encode options.
The hyperion.getCRLFSEncoder method has the following command format(s):
hyperion.getCRLFSEncoder( );
an implementation class of IEncoder, providing an encode method of replacing '\n' to "\r\n*".
Performs an encode action replacing replacing 'n' to "rn*".
String str_withnewline = "test\nclassofIEcoder"; String str_line = "test\\nclassofIEcoder"; { String str_getCRLF = hyperion.getCRLFSEncoder().encode(str_withnewline); String str_getCRLF1 = hyperion.getCRLFSEncoder().encode(str_line); if (str_getCRLF.equals("test\r\n*classofIEcoder")) info("API getCRLFSEncoder().encode() passed!"); else warn("API getCRLFSEncoder().encode() failed!"); if (str_getCRLF1.equals("test\\nclassofIEcoder")) info("API getCRLFSEncoder().encode() passed!"); else warn("API getCRLFSEncoder().encode() failed!"); if (hyperion.getCRLFSEncoder().getEncoderName().equals("getCRLFSEncoder")) info("API getCRLFSEncoder().getEncoderName() passed!"); else warn("API getCRLFSEncoder().getEncoderName() failed!"); }
Gets an implementation class of IEncoder, providing an encode method of replacing 'n' to '*'. Will be used to provide custom encode options.
The hyperion.getStarEncoder method has the following command format(s):
hyperion.getStarEncoder( );
an implementation class of IEncoder, providing an encode method of replacing newlines to '*'.
Performs an encode action replacing newlines to '*'
String str_withnewline = "test\nclassofIEcoder"; String str_line = "test\\nclassofIEcoder"; { String str_getStar = hyperion.getStarEncoder().encode(str_withnewline); String str_getStar1 = hyperion.getStarEncoder().encode(str_line); if (str_getStar.equals("test*classofIEcoder")) info("API getStarEncoder().encode() passed!"); else warn("API getStarEncoder().encode() failed!"); if (str_getStar1.equals("test\\nclassofIEcoder")) info("API getStarEncoder().encode() passed!"); else warn("API getStarEncoder().encode() failed!"); if (hyperion.getStarEncoder().getEncoderName().equals("getStarEncoder")) info("API getStarEncoder().getEncoderName() passed!"); else warn("API getStarEncoder().getEncoderName() failed!"); }