Lines Matching defs:is
5 * This code is free software; you can redistribute it and/or modify it
11 * This code is distributed in the hope that it will be useful, but WITHOUT
14 * version 2 for more details (a copy is included in the LICENSE file that
37 * This is OBSOLETE. DO NOT USE THIS. Use java.util.jar.Manifest
71 public Manifest(InputStream is) throws IOException {
72 this(is, true);
79 public Manifest(InputStream is, boolean compute) throws IOException {
80 if (!is.markSupported()) {
81 is = new BufferedInputStream(is);
85 is.mark(1);
86 if (is.read() == -1) { // EOF
89 is.reset();
90 MessageHeader m = new MessageHeader(is);
175 // If unnamed or is a directory return immediately
185 InputStream is = new FileInputStream(stdToLocal(name));
190 while ((len = is.read(tmpbuf, 0, tmpbuf.length)) != -1) {
198 is.close();
220 /* Assume this is a user-defined manifest. If it has a Name: <..>
221 * field, then it is not global, in which case we just add our own
224 * is a global header and so prepend Manifest to it.