Searched defs:encoding (Results 1 - 25 of 151) sorted by relevance

1234567

/forgerock/jee-agents-v3.5/jee-agents-sdk/src/main/java/com/sun/identity/agents/filter/
H A DWebServiceRequestInputStream.java38 public WebServiceRequestInputStream(String body, String encoding) argument
40 setInputStream(new ByteArrayInputStream(body.getBytes(encoding)));
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/cts/adapters/
H A DSAMLAdapterTest.java45 private KeyConversion encoding; field in class:SAMLAdapterTest
52 encoding = new KeyConversion();
63 new TokenIdFactory(encoding),
67 String tokenId = encoding.encodeKey("badger");
81 String secondaryKey = encoding.encodeKey("weasel");
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/cts/adapters/
H A DSAMLAdapterTest.java46 private KeyConversion encoding; field in class:SAMLAdapterTest
53 encoding = new KeyConversion();
64 new TokenIdFactory(encoding),
68 String tokenId = encoding.encodeKey("badger");
82 String secondaryKey = encoding.encodeKey("weasel");
/forgerock/opendj-b2.6/src/server/org/opends/server/tools/
H A DLDAPToolOptions.java43 private String encoding = System.getProperty("file.encoding"); field in class:LDAPToolOptions
145 * Set the encoding.
147 * @param encodingStr The encoding to use for string values.
151 this.encoding = encodingStr;
155 * Return the encoding value.
157 * @return The encoding to use for string values.
161 return encoding;
/forgerock/opendj2/src/server/org/opends/server/tools/
H A DLDAPToolOptions.java42 private String encoding = System.getProperty("file.encoding"); field in class:LDAPToolOptions
144 * Set the encoding.
146 * @param encodingStr The encoding to use for string values.
150 this.encoding = encodingStr;
154 * Return the encoding value.
156 * @return The encoding to use for string values.
160 return encoding;
/forgerock/opendj2.6.2/src/server/org/opends/server/tools/
H A DLDAPToolOptions.java43 private String encoding = System.getProperty("file.encoding"); field in class:LDAPToolOptions
145 * Set the encoding.
147 * @param encodingStr The encoding to use for string values.
151 this.encoding = encodingStr;
155 * Return the encoding value.
157 * @return The encoding to use for string values.
161 return encoding;
/forgerock/opendj2-jel-hg/src/server/org/opends/server/tools/
H A DLDAPToolOptions.java43 private String encoding = System.getProperty("file.encoding"); field in class:LDAPToolOptions
145 * Set the encoding.
147 * @param encodingStr The encoding to use for string values.
151 this.encoding = encodingStr;
155 * Return the encoding value.
157 * @return The encoding to use for string values.
161 return encoding;
/forgerock/opendj2-hg/src/server/org/opends/server/tools/
H A DLDAPToolOptions.java42 private String encoding = System.getProperty("file.encoding"); field in class:LDAPToolOptions
144 * Set the encoding.
146 * @param encodingStr The encoding to use for string values.
150 this.encoding = encodingStr;
154 * Return the encoding value.
156 * @return The encoding to use for string values.
160 return encoding;
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/tools/
H A DLDAPToolOptions.java43 private String encoding = System.getProperty("file.encoding"); field in class:LDAPToolOptions
145 * Set the encoding.
147 * @param encodingStr The encoding to use for string values.
151 this.encoding = encodingStr;
155 * Return the encoding value.
157 * @return The encoding to use for string values.
161 return encoding;
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/cts/api/tokens/
H A DTokenIdFactory.java31 private final KeyConversion encoding; field in class:TokenIdFactory
35 public TokenIdFactory(KeyConversion encoding) { argument
36 this.encoding = encoding;
44 return encoding.encodeKey(requestId);
54 return encoding.decodeKey(primaryId);
62 return encoding.encodeKey(secondaryKey);
72 return encoding.decodeKey(secondaryId);
92 return encoding.encryptKey(sessionID);
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/cts/api/tokens/
H A DTokenIdFactory.java31 private final KeyConversion encoding; field in class:TokenIdFactory
35 public TokenIdFactory(KeyConversion encoding) { argument
36 this.encoding = encoding;
44 return encoding.encodeKey(requestId);
54 return encoding.decodeKey(primaryId);
62 return encoding.encodeKey(secondaryKey);
72 return encoding.decodeKey(secondaryId);
92 return encoding.encryptKey(sessionID);
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/setup/
H A DSetupProgress.java48 static private String encoding = System.getProperty("file.encoding"); field in class:SetupProgress
96 writer.write(URLEncoder.encode(text, encoding));
119 String text = new String(b, encoding);
128 String text = new String(b, off, len, encoding);
/forgerock/openam-v13/openam-shared/src/main/java/org/forgerock/openam/utils/
H A DIOUtils.java69 * String format using the given encoding.
72 * @param encoding encoding of the file
78 public static String getFileContent(String path, String encoding) throws IOException { argument
85 return readStream(new FileInputStream(file), encoding);
89 * Reads a files content from the classpath using UTF-8 encoding.
102 * Reads a files content from the classpath using the given encoding.
106 * @param encoding encoding of the file
111 public static String getFileContentFromClassPath(Class classInSameModule, String path, String encoding) argument
141 readStream(InputStream is, String encoding) argument
[all...]
H A DStringUtils.java118 * @param encoding The name of character encoding.
121 * If the named encoding is not supported
123 public static String encodeURIComponent(String component, String encoding) throws UnsupportedEncodingException { argument
127 String result = URLEncoder.encode(component, encoding)
/forgerock/openam-v13/openam-common-auth-ui/src/main/java/com/sun/identity/authentication/UI/taglib/
H A DDSAMEHrefTag.java50 * Href tag reimplements JATO Href tag. It adds a content encoding
51 * query parameter and do not do extra encoding. This element helps
52 * web server to figure out the encoding used.
179 private void encodeValues( NonSyncStringBuffer buffer, String encoding, argument
188 debug.message("encoding.. : " + encoding);
/forgerock/openam-v13/openam-upgrade/src/main/java/org/forgerock/openam/upgrade/
H A DUpgradeProgress.java47 static private String encoding = System.getProperty("file.encoding"); field in class:UpgradeProgress
104 encoding));
125 writer.write(new String(b, encoding).replace("\n", "\\\n").replace("\"", "\\\""));
132 writer.write(new String(b, off, len, encoding).replace("\n", "\\\n").replace("\"", "\\\""));
/forgerock/openam/openam-shared/src/main/java/org/forgerock/openam/utils/
H A DIOUtils.java69 * String format using the given encoding.
72 * @param encoding encoding of the file
78 public static String getFileContent(String path, String encoding) throws IOException { argument
85 return readStream(new FileInputStream(file), encoding);
89 * Reads a files content from the classpath using UTF-8 encoding.
102 * Reads a files content from the classpath using the given encoding.
106 * @param encoding encoding of the file
111 public static String getFileContentFromClassPath(Class classInSameModule, String path, String encoding) argument
141 readStream(InputStream is, String encoding) argument
[all...]
H A DStringUtils.java120 * @param encoding The name of character encoding.
123 * If the named encoding is not supported
125 public static String encodeURIComponent(String component, String encoding) throws UnsupportedEncodingException { argument
129 String result = URLEncoder.encode(component, encoding)
/forgerock/openam/openam-core/src/main/java/com/sun/identity/setup/
H A DSetupProgress.java54 static private String encoding = System.getProperty("file.encoding"); field in class:SetupProgress
102 writer.write(URLEncoder.encode(text, encoding));
125 String text = new String(b, encoding);
134 String text = new String(b, off, len, encoding);
/forgerock/openam/openam-upgrade/src/main/java/org/forgerock/openam/upgrade/
H A DUpgradeProgress.java47 static private String encoding = System.getProperty("file.encoding"); field in class:UpgradeProgress
104 encoding));
125 writer.write(new String(b, encoding).replace("\n", "\\\n").replace("\"", "\\\""));
132 writer.write(new String(b, off, len, encoding).replace("\n", "\\\n").replace("\"", "\\\""));
/forgerock/opendj-b2.6/src/server/org/opends/server/loggers/
H A DMultifileTextWriter.java83 private String encoding; field in class:MultifileTextWriter
114 * @param encoding the encoding to use to write the log files.
126 String encoding,
133 constructWriter(file, filePermissions, encoding, append,
142 this.encoding = UTF8_ENCODING;
159 * @param encoding - the encoding to use when writing log records.
170 String encoding, boolean append,
183 OutputStreamWriter osw = new OutputStreamWriter(outputStream, encoding);
122 MultifileTextWriter(String name, long interval, FileNamingPolicy namingPolicy, FilePermission filePermissions, LogPublisherErrorHandler errorHandler, String encoding, boolean autoFlush, boolean append, int bufferSize) argument
169 constructWriter(File file, FilePermission filePermissions, String encoding, boolean append, int bufferSize) argument
[all...]
/forgerock/opendj2/src/server/org/opends/server/loggers/
H A DMultifileTextWriter.java83 private String encoding; field in class:MultifileTextWriter
114 * @param encoding the encoding to use to write the log files.
126 String encoding,
133 constructWriter(file, filePermissions, encoding, append,
142 this.encoding = UTF8_ENCODING;
159 * @param encoding - the encoding to use when writing log records.
170 String encoding, boolean append,
183 OutputStreamWriter osw = new OutputStreamWriter(outputStream, encoding);
122 MultifileTextWriter(String name, long interval, FileNamingPolicy namingPolicy, FilePermission filePermissions, LogPublisherErrorHandler errorHandler, String encoding, boolean autoFlush, boolean append, int bufferSize) argument
169 constructWriter(File file, FilePermission filePermissions, String encoding, boolean append, int bufferSize) argument
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/loggers/
H A DMultifileTextWriter.java83 private String encoding; field in class:MultifileTextWriter
114 * @param encoding the encoding to use to write the log files.
126 String encoding,
133 constructWriter(file, filePermissions, encoding, append,
142 this.encoding = UTF8_ENCODING;
159 * @param encoding - the encoding to use when writing log records.
170 String encoding, boolean append,
183 OutputStreamWriter osw = new OutputStreamWriter(outputStream, encoding);
122 MultifileTextWriter(String name, long interval, FileNamingPolicy namingPolicy, FilePermission filePermissions, LogPublisherErrorHandler errorHandler, String encoding, boolean autoFlush, boolean append, int bufferSize) argument
169 constructWriter(File file, FilePermission filePermissions, String encoding, boolean append, int bufferSize) argument
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/loggers/
H A DMultifileTextWriter.java83 private String encoding; field in class:MultifileTextWriter
114 * @param encoding the encoding to use to write the log files.
126 String encoding,
133 constructWriter(file, filePermissions, encoding, append,
142 this.encoding = UTF8_ENCODING;
159 * @param encoding - the encoding to use when writing log records.
170 String encoding, boolean append,
183 OutputStreamWriter osw = new OutputStreamWriter(outputStream, encoding);
122 MultifileTextWriter(String name, long interval, FileNamingPolicy namingPolicy, FilePermission filePermissions, LogPublisherErrorHandler errorHandler, String encoding, boolean autoFlush, boolean append, int bufferSize) argument
169 constructWriter(File file, FilePermission filePermissions, String encoding, boolean append, int bufferSize) argument
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/loggers/
H A DMultifileTextWriter.java83 private String encoding; field in class:MultifileTextWriter
114 * @param encoding the encoding to use to write the log files.
126 String encoding,
133 constructWriter(file, filePermissions, encoding, append,
142 this.encoding = UTF8_ENCODING;
159 * @param encoding - the encoding to use when writing log records.
170 String encoding, boolean append,
183 OutputStreamWriter osw = new OutputStreamWriter(outputStream, encoding);
122 MultifileTextWriter(String name, long interval, FileNamingPolicy namingPolicy, FilePermission filePermissions, LogPublisherErrorHandler errorHandler, String encoding, boolean autoFlush, boolean append, int bufferSize) argument
169 constructWriter(File file, FilePermission filePermissions, String encoding, boolean append, int bufferSize) argument
[all...]

Completed in 98 milliseconds

1234567