Update of /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/protocols/impl
In directory sc8-pr-cvs1:/tmp/cvs-serv11152/src/java/core/org/krysalis/ruper2/protocols/impl
Modified Files:
VfsProtocolOperationsProvider.java
HttpClientProtocolOperationsProvider.java
Log Message:
Leverage selectors for performList, to make it much more powerful.
Index: VfsProtocolOperationsProvider.java
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/protocols/impl/VfsProtocolOperationsProvider.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** VfsProtocolOperationsProvider.java 13 Oct 2003 03:46:11 -0000 1.4
--- VfsProtocolOperationsProvider.java 30 Oct 2003 05:15:53 -0000 1.5
***************
*** 49,52 ****
--- 49,54 ----
public List list(VirtualResourceLocator container, ISelector selector)
throws Exception {
+
+ //:TODO: MOVE TO GET LINKS w/ selector -- ASAP
List fileObjects = VfsUtils.getChildren(resolveAddress(container));
Index: HttpClientProtocolOperationsProvider.java
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/protocols/impl/HttpClientProtocolOperationsProvider.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** HttpClientProtocolOperationsProvider.java 12 Oct 2003 18:12:05 -0000 1.3
--- HttpClientProtocolOperationsProvider.java 30 Oct 2003 05:15:53 -0000 1.4
***************
*** 50,56 ****
if (Protocol.isHTTP(container.getProtocol())) {
children =
! HtmlUtils.getChildren(
container,
! m_agent.getContents(container.toExternalForm()));
}
else
--- 50,57 ----
if (Protocol.isHTTP(container.getProtocol())) {
children =
! HtmlUtils.getLinks(
container,
! m_agent.getContents(container.toExternalForm()),
! selector);
}
else
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
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.