ruper2/src/java/core/org/krysalis/ruper2/protocols Protocol.java,1.1,1.2

[email protected]
Newsgroups gmane.comp.krysalis.metamorphosis.cvs
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/protocols
In directory sc8-pr-cvs1:/tmp/cvs-serv25339/src/java/core/org/krysalis/ruper2/protocols

Modified Files:
	Protocol.java 
Log Message:
Opps, did it for HTTP input but not File input. Added that.

Index: Protocol.java
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/protocols/Protocol.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Protocol.java	29 Sep 2003 18:09:23 -0000	1.1
--- Protocol.java	9 Oct 2003 21:15:02 -0000	1.2
***************
*** 12,14 ****
--- 12,21 ----
  	public final static String FILE_PROTOCOL = "file";
  
+ 	public static boolean isHTTP(String protocol) {
+ 		return HTTP_PROTOCOL.equalsIgnoreCase(protocol);
+ 	}
+ 
+ 	public static boolean isFile(String protocol) {
+ 		return FILE_PROTOCOL.equalsIgnoreCase(protocol);
+ 	}
  }




-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.