Searched defs:is (Results 1 - 25 of 42) sorted by relevance

12

/glassfish-3.1.2/tests/quicklook/admincli/src/test/admincli/util/
H A DStreamGobbler.java37 * only if the new code is made subject to such option by the copyright
57 InputStream is; field in class:StreamGobbler
60 public StreamGobbler(InputStream is, String type) argument
62 this.is = is;
70 InputStreamReader isr = new InputStreamReader(is);
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/
H A DArchivistUtils.java37 * only if the new code is made subject to such option by the copyright
60 public static void copy(InputStream is, OutputStream os) throws IOException { argument
61 copyWithoutClose(is, os);
62 is.close();
70 public static void copyWithoutClose(InputStream is, OutputStream os) throws IOException { argument
75 len = is.read(buf, 0, buf.length);
/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/event/
H A DEventListener.java37 * only if the new code is made subject to such option by the copyright
81 public boolean is(EventTypes type) { method in class:EventListener.Event
/glassfish-3.1.2/common/simple-glassfish-api/src/main/java/org/glassfish/embeddable/
H A DDeployer.java37 * only if the new code is made subject to such option by the copyright
51 * It accepts URI as an input for deployment and hence is very easily extensible. User can install their own
61 * Deploys an application identified by a URI. URI is used as it is very extensible.
62 * GlassFish does not care about what URI scheme is used as long as there is a URL handler installed
65 * to "asadmin deploy" command is also applicable here with same semantics. Please refer to GlassFish
83 * Deploys an application identified by a file. Invoking this method is equivalent to invoking
94 * The input stream is closed when this method completes, even if an exception is throw
100 deploy(InputStream is, String... params) argument
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/util/
H A DAnnotationDetector.java37 * only if the new code is made subject to such option by the copyright
152 protected boolean containsAnnotation(InputStream is, long size) argument
158 channel = Channels.newChannel(is);
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/base/io/
H A DJ2EEObjectStreamFactoryImpl.java37 * only if the new code is made subject to such option by the copyright
106 final InputStream is,
116 ois = new EJBObjectInputStream(is, appClassLoader, resolveObject);
124 is, appClassLoader, resolveObject);
132 ois = new ObjectInputStream(is);
105 createObjectInputStream( final InputStream is, final boolean resolveObject, final ClassLoader appClassLoader) argument
H A DJavaEEIOUtilsImpl.java37 * only if the new code is made subject to such option by the copyright
57 public ObjectInputStream createObjectInputStream(InputStream is, boolean resolveObject, ClassLoader loader) throws Exception { argument
58 return IOUtils.createObjectInputStream(is, resolveObject, loader);
H A DIOUtils.java37 * only if the new code is made subject to such option by the copyright
71 final InputStream is, final boolean resolveObject,
75 return _streamFactory.createObjectInputStream(is, resolveObject, loader);
70 createObjectInputStream( final InputStream is, final boolean resolveObject, final ClassLoader loader) argument
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/spi/io/
H A DJ2EEObjectStreamFactory.java37 * only if the new code is made subject to such option by the copyright
80 public ObjectInputStream createObjectInputStream(InputStream is, argument
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/
H A DIOTools.java37 * only if the new code is made subject to such option by the copyright
53 * distributed under the License is distributed on an "AS IS" BASIS,
77 * Read input from reader and write it to writer until there is no more
103 * until there is no more input from input stream.
109 public static void flow( InputStream is, OutputStream os, byte[] buf ) argument
112 while ( (numRead = is.read(buf) ) >= 0) {
120 public static void flow( InputStream is, OutputStream os ) argument
123 flow( is, os, buf );
/glassfish-3.1.2/build/glassfish-obr-builder/src/main/java/org/glassfish/obrbuilder/xmlentities/
H A DObrXmlReaderWriter.java37 * only if the new code is made subject to such option by the copyright
62 * Closing the stream is caller's responsibility.
64 * @param is InputStream to read the XML content from
68 public Repository read(InputStream is) throws IOException { argument
71 return Repository.class.cast(unmarshaller.unmarshal(is));
84 InputStream is = new BufferedInputStream(input.toURL().openStream());
86 return read(is);
89 is.close();
105 * Closing the stream is caller's responsibility.
/glassfish-3.1.2/common/common-util/src/main/java/org/glassfish/admin/payload/
H A DTextPayloadImpl.java37 * only if the new code is made subject to such option by the copyright
50 * This class is mainly useful so the RemoteCommand logic can treat the return
51 * payload from a command the same, regardless of whether it is actually
55 * This class is here primarily to make the plain text in a response look like
56 * the more general multi-part responses so the RemoteCommand class is free
64 * contains a single part. This is for compatibility with existing clients
80 private final InputStream is; field in class:TextPayloadImpl.Inbound
83 public static Inbound newInstance(final String messageContentType, final InputStream is) { argument
84 return new Inbound(messageContentType, is);
89 * @return true if the content type is supporte
96 Inbound(final String contentType, final InputStream is) argument
[all...]
/glassfish-3.1.2/common/container-common/src/main/java/com/sun/enterprise/container/common/spi/util/
H A DJavaEEIOUtils.java37 * only if the new code is made subject to such option by the copyright
62 public ObjectInputStream createObjectInputStream(InputStream is, boolean resolveObject, ClassLoader loader) argument
H A DJavaEEObjectStreamFactory.java37 * only if the new code is made subject to such option by the copyright
126 final InputStream is,
140 ois = new JavaEEObjectInputStream(is, loader, resolveObject, handlers);
148 is, loader, resolveObject, handlers);
156 ois = new ObjectInputStream(is);
125 createObjectInputStream( final InputStream is, final boolean resolveObject, final ClassLoader loader) argument
/glassfish-3.1.2/deployment/client/src/main/java/org/glassfish/deployment/client/
H A DCommandXMLResultParser.java37 * only if the new code is made subject to such option by the copyright
58 static DFDeploymentStatus parse(InputStream is) throws ParserConfigurationException, SAXException, IOException { argument
66 parser.parse(is, rh);
97 * If this is the first action-report then the resulting
105 * This is a nested action-report, so add it as a sub-stage
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/embeddable/
H A DDeployerImpl.java37 * only if the new code is made subject to such option by the copyright
74 * This is an implementation of {@link Deployer}.
121 // set outputbound payload if --retrieve option is specified.
142 public String deploy(InputStream is, String... params) throws GlassFishException { argument
144 return deploy(createFile(is), params);
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/schemadoc/
H A DGenerateDomainSchema.java37 * only if the new code is made subject to such option by the copyright
150 private ClassDef parse(InputStream is) throws IOException { argument
152 new ClassReader(is).accept(visitor, 0);
/glassfish-3.1.2/common/common-util/src/main/java/org/glassfish/common/util/admin/
H A DAsadminInput.java37 * only if the new code is made subject to such option by the copyright
61 * Primarily (but not exclusively) for security reasons, it is useful to be
72 * Currently there is only one version supported. The lines following
74 * that each property name is (category).(property-within-category)=value
128 public static InputReader reader(final InputStream is) throws IOException { argument
129 final BufferedReader reader = new BufferedReader(new InputStreamReader(is));
144 * The expected format of the input stream, after the version=xxx line, is
194 * complain if it is not.
216 "Input to asadmin specifies version {0} which is not recognized"),
/glassfish-3.1.2/flashlight/framework/src/main/java/org/glassfish/flashlight/xml/
H A DStaxParser.java37 * only if the new code is made subject to such option by the copyright
76 public StaxParser(InputStream is) throws XMLStreamException { argument
77 xmlStream = is;
86 * @throws xml.StaxParser.EndDocumentException if the end of the document is here
108 // cursor is at a START_ELEMENT
122 * @throws IllegalStateException if the cursor is not pointing at a START_ELEMENT
137 * This is useful for skipping past the root element
187 // The cursor is pointing at the start-element of name.
198 // this is so we can return from arbitrarily nested calls -- it is VER
[all...]
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/deployment/
H A DGenericSniffer.java37 * only if the new code is made subject to such option by the copyright
90 * Returns true if the passed file or directory is recognized by this
140 * will be locked as long as there is at least one module loaded in the
143 * @param containerHome is where the container implementation resides
162 * Returns the list of annotations types that this sniffer is interested in.
168 * @return list of annotations this sniffer is interested in.
205 * In each returned map entry the key is a path and the value is the
211 * to override this implementation to return whatever information is
213 * Map is i
275 readDeploymentConfig(final InputStream is) argument
[all...]
/glassfish-3.1.2/deployment/common/src/main/java/com/sun/enterprise/deployment/deploy/shared/
H A DMemoryMappedArchive.java37 * only if the new code is made subject to such option by the copyright
86 public MemoryMappedArchive(InputStream is) throws IOException { argument
87 read(is);
98 private void read(InputStream is) throws IOException{ argument
100 ArchivistUtils.copy(is,baos);
110 FileInputStream is = null;
112 is = new FileInputStream(in);
113 read(is);
115 if (is != null) {
116 is
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/io/
H A DDeploymentDescriptorFile.java37 * only if the new code is made subject to such option by the copyright
121 // this feature is needed for backward compat with old DDs
125 // this is a hack for a few days so people can continue runnning
156 // is seen for a DTD based (J2EE1.3) XML descriptor.
228 * @param is the input stream for the XML file
231 public T read(InputStream is) argument
233 return read(null, is);
240 * @param descriptor the read is incremental, the descriptor to apply the DDs to
259 * @param descriptor the read is incremental, the descriptor to apply the DDs to
266 InputStream is
283 read(T descriptor, InputStream is) argument
[all...]
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/spi/sfsb/store/
H A DSFSBBeanState.java37 * only if the new code is made subject to such option by the copyright
196 public void _storeable_readState(InputStream is) throws IOException { argument
197 ObjectInputStream ois = new ObjectInputStreamWithLoader(is, SFSBBeanState.class.getClassLoader());
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/apiscan/classfile/
H A DBCELClassFile.java37 * only if the new code is made subject to such option by the copyright
70 * This is an implementation of {@link ClassFile} interface. It uses Apache's
72 * This is a thread safe implementation of ClassFile interface.
73 * This is NOT a public class. Access thru' {@link ClassFile} interface.
84 //This is constant used during logging
88 * @param is is could be a Zip or Jar InputStream or a regular
90 * @param file_name is the name of the .class file. If is a Zip or Jar Input
92 * because it is use
104 BCELClassFile(InputStream is, String file_name) argument
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/tomcat/util/modeler/util/
H A DDomUtil.java37 * only if the new code is made subject to such option by the copyright
53 * distributed under the License is distributed on an "AS IS" BASIS,
96 /** Get the trimed text content of a node or null if there is no text
282 public static Document readXml(InputStream is) argument
300 Document doc = db.parse(is);

Completed in 6886 milliseconds

12