ruper2/src/java/core/org/krysalis/ruper2/util/io VfsUtils.java,1.2,1.3 IOUtils.java,1.1,1.2
| Newsgroups | gmane.comp.krysalis.metamorphosis.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/util/io
In directory sc8-pr-cvs1:/tmp/cvs-serv16302/src/java/core/org/krysalis/ruper2/util/io
Modified Files:
VfsUtils.java IOUtils.java
Log Message:
Attempt to bring closer to working w/ Anou's API.
Index: VfsUtils.java
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/util/io/VfsUtils.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** VfsUtils.java 9 Oct 2003 20:30:26 -0000 1.2
--- VfsUtils.java 10 Oct 2003 21:26:23 -0000 1.3
***************
*** 188,192 ****
URLConnection.guessContentTypeFromStream(urlStream);
! if ((type == null) || (type.compareTo("text/html") != 0)) {
result.add(folder);
}
--- 188,192 ----
URLConnection.guessContentTypeFromStream(urlStream);
! if ((type == null) || !type.startsWith("text/html")) {
result.add(folder);
}
***************
*** 261,266 ****
urlStream.close();
}
! catch (Exception ce){
!
}
}
--- 261,265 ----
urlStream.close();
}
! catch (Exception ce){
}
}
Index: IOUtils.java
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/util/io/IOUtils.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** IOUtils.java 9 Oct 2003 21:14:57 -0000 1.1
--- IOUtils.java 10 Oct 2003 21:26:23 -0000 1.2
***************
*** 29,32 ****
--- 29,33 ----
}
}
+
public static void close(OutputStream stream) {
if (null != stream) {
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php