Searched refs:outputStream (Results 1 - 25 of 175) sorted by relevance

1234567

/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/setup/
H A DZipUtils.java55 try (ZipOutputStream outputStream = new ZipOutputStream(new FileOutputStream(destination))) {
57 zipFile(outputStream, file, (directory.getParentFile().getPath() + File.separator).length());
62 private void zipFile(ZipOutputStream outputStream, File file, int stripLength) throws IOException { argument
67 outputStream.putNextEntry(new ZipEntry(file.getPath().replace('\\', '/').substring(stripLength)));
69 ByteStreams.copy(inputStream, outputStream);
70 outputStream.closeEntry();
74 outputStream.putNextEntry(new ZipEntry(entryName));
75 outputStream.closeEntry();
81 zipFile(outputStream, subFile, stripLength);
/forgerock/openam/openam-shared/src/test/java/org/forgerock/openam/shared/security/crypto/
H A DKeyStoreBuilderTest.java46 private KeyStore createKeyStore(OutputStream outputStream, char[] password) throws Exception { argument
49 keyStore.store(outputStream, password);
/forgerock/opendj-b2.6/src/server/org/opends/server/protocols/internal/
H A DInternalLDAPSocket.java107 private InternalLDAPOutputStream outputStream; field in class:InternalLDAPSocket
128 outputStream = new InternalLDAPOutputStream(this);
216 outputStream.closeInternal();
221 outputStream = null;
239 outputStream = new InternalLDAPOutputStream(this);
258 outputStream = new InternalLDAPOutputStream(this);
419 return outputStream;
/forgerock/opendj2/src/server/org/opends/server/protocols/internal/
H A DInternalLDAPSocket.java106 private InternalLDAPOutputStream outputStream; field in class:InternalLDAPSocket
127 outputStream = new InternalLDAPOutputStream(this);
215 outputStream.closeInternal();
220 outputStream = null;
238 outputStream = new InternalLDAPOutputStream(this);
257 outputStream = new InternalLDAPOutputStream(this);
418 return outputStream;
/forgerock/opendj2.6.2/src/server/org/opends/server/protocols/internal/
H A DInternalLDAPSocket.java107 private InternalLDAPOutputStream outputStream; field in class:InternalLDAPSocket
128 outputStream = new InternalLDAPOutputStream(this);
216 outputStream.closeInternal();
221 outputStream = null;
239 outputStream = new InternalLDAPOutputStream(this);
258 outputStream = new InternalLDAPOutputStream(this);
419 return outputStream;
/forgerock/opendj2-jel-hg/src/server/org/opends/server/protocols/internal/
H A DInternalLDAPSocket.java107 private InternalLDAPOutputStream outputStream; field in class:InternalLDAPSocket
128 outputStream = new InternalLDAPOutputStream(this);
216 outputStream.closeInternal();
221 outputStream = null;
239 outputStream = new InternalLDAPOutputStream(this);
258 outputStream = new InternalLDAPOutputStream(this);
419 return outputStream;
/forgerock/opendj2-hg/src/server/org/opends/server/protocols/internal/
H A DInternalLDAPSocket.java106 private InternalLDAPOutputStream outputStream; field in class:InternalLDAPSocket
127 outputStream = new InternalLDAPOutputStream(this);
215 outputStream.closeInternal();
220 outputStream = null;
238 outputStream = new InternalLDAPOutputStream(this);
257 outputStream = new InternalLDAPOutputStream(this);
418 return outputStream;
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/protocols/internal/
H A DInternalLDAPSocket.java109 private InternalLDAPOutputStream outputStream; field in class:InternalLDAPSocket
130 outputStream = new InternalLDAPOutputStream(this);
218 outputStream.closeInternal();
223 outputStream = null;
241 outputStream = new InternalLDAPOutputStream(this);
260 outputStream = new InternalLDAPOutputStream(this);
421 return outputStream;
/forgerock/openam-v13/openam-shared/src/test/java/org/forgerock/openam/utils/
H A DIOUtilsTest.java128 ByteArrayOutputStream outputStream = new ByteArrayOutputStream()) {
131 long bytesCopied = IOUtils.copyStream(inputStream, outputStream);
134 assertThat(outputStream.toByteArray()).isEqualTo(input);
143 ByteArrayOutputStream outputStream = new ByteArrayOutputStream()) {
146 long bytesCopied = IOUtils.copyStream(inputStream, outputStream);
150 assertThat(outputStream.toByteArray()).isEqualTo(new byte[0]);
/forgerock/openam/openam-shared/src/test/java/org/forgerock/openam/utils/
H A DIOUtilsTest.java128 ByteArrayOutputStream outputStream = new ByteArrayOutputStream()) {
131 long bytesCopied = IOUtils.copyStream(inputStream, outputStream);
134 assertThat(outputStream.toByteArray()).isEqualTo(input);
143 ByteArrayOutputStream outputStream = new ByteArrayOutputStream()) {
146 long bytesCopied = IOUtils.copyStream(inputStream, outputStream);
150 assertThat(outputStream.toByteArray()).isEqualTo(new byte[0]);
/forgerock/opendj-b2.6/src/server/org/opends/server/loggers/
H A DTextWriter.java155 * @param outputStream The output stream to which
157 public STREAM(OutputStream outputStream) argument
159 stream = new MeteredStream(outputStream, 0);
/forgerock/opendj2/src/server/org/opends/server/loggers/
H A DTextWriter.java154 * @param outputStream The output stream to which
156 public STREAM(OutputStream outputStream) argument
158 stream = new MeteredStream(outputStream, 0);
/forgerock/opendj2.6.2/src/server/org/opends/server/loggers/
H A DTextWriter.java155 * @param outputStream The output stream to which
157 public STREAM(OutputStream outputStream) argument
159 stream = new MeteredStream(outputStream, 0);
/forgerock/opendj2-jel-hg/src/server/org/opends/server/loggers/
H A DTextWriter.java155 * @param outputStream The output stream to which
157 public STREAM(OutputStream outputStream) argument
159 stream = new MeteredStream(outputStream, 0);
/forgerock/opendj2-hg/src/server/org/opends/server/loggers/
H A DTextWriter.java154 * @param outputStream The output stream to which
156 public STREAM(OutputStream outputStream) argument
158 stream = new MeteredStream(outputStream, 0);
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/loggers/
H A DTextWriter.java139 * @param outputStream The output stream to which
141 public STREAM(OutputStream outputStream) argument
143 stream = new MeteredStream(outputStream, 0);
/forgerock/opendj-b2.6/src/server/org/opends/server/protocols/asn1/
H A DASN1.java260 ByteSequenceOutputStream outputStream = new ByteSequenceOutputStream(
262 return getWriter(outputStream, maxInternalBufferSize);
/forgerock/opendj2/src/server/org/opends/server/protocols/asn1/
H A DASN1.java259 ByteSequenceOutputStream outputStream = new ByteSequenceOutputStream(
261 return getWriter(outputStream, maxInternalBufferSize);
/forgerock/opendj2.6.2/src/server/org/opends/server/protocols/asn1/
H A DASN1.java260 ByteSequenceOutputStream outputStream = new ByteSequenceOutputStream(
262 return getWriter(outputStream, maxInternalBufferSize);
/forgerock/opendj2-jel-hg/src/server/org/opends/server/protocols/asn1/
H A DASN1.java260 ByteSequenceOutputStream outputStream = new ByteSequenceOutputStream(
262 return getWriter(outputStream, maxInternalBufferSize);
/forgerock/opendj2-hg/src/server/org/opends/server/protocols/asn1/
H A DASN1.java259 ByteSequenceOutputStream outputStream = new ByteSequenceOutputStream(
261 return getWriter(outputStream, maxInternalBufferSize);
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/plugins/
H A DDefaultFedletAdapter.java165 OutputStream outputStream = conn.getOutputStream();
167 outputStream.write("".getBytes());
168 outputStream.flush();
169 outputStream.close();
330 OutputStream outputStream = conn.getOutputStream();
332 outputStream.write("".getBytes());
333 outputStream.flush();
334 outputStream.close();
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/plugins/
H A DDefaultFedletAdapter.java165 OutputStream outputStream = conn.getOutputStream();
167 outputStream.write("".getBytes());
168 outputStream.flush();
169 outputStream.close();
330 OutputStream outputStream = conn.getOutputStream();
332 outputStream.write("".getBytes());
333 outputStream.flush();
334 outputStream.close();
/forgerock/opendj-b2.6/src/server/org/opends/server/core/
H A DDefaultCompressedSchema.java221 FileOutputStream outputStream = null;
231 outputStream = new FileOutputStream(tempPath);
232 final ASN1Writer writer = ASN1.getWriter(outputStream);
287 outputStream.close();
318 if (outputStream != null)
320 outputStream.close();
/forgerock/opendj2/src/server/org/opends/server/core/
H A DDefaultCompressedSchema.java220 FileOutputStream outputStream = null;
230 outputStream = new FileOutputStream(tempPath);
231 final ASN1Writer writer = ASN1.getWriter(outputStream);
286 outputStream.close();
317 if (outputStream != null)
319 outputStream.close();

Completed in 72 milliseconds

1234567