|
Home
Main
FSP project
FSP Documents
FSP suite
Java library
FSP proxy
C library
Misc
FSP entry in
Stats
My projects |
Java FSP libraryCopyrightCopyright (c) 2003,2004 by Radim `HSN` KolarYou may copy or modify this file in any manner you wish, provided that this notice is always included, and that you hold the author harmless for any loss or damage resulting from the installation or use of this software. What is Java FSP LibraryJava FSP library adds support for FSP protocol to Java platform. It can be used system-wide or application wide. Library needs FSPD Version 2.8.1b18 or better and supports currently only read-only access. This library supports both client and server method of packet checksum.Using java.net.URL APIYou can use standard java.net.URL API family to access files on fsp servers by using fsp://host[:port]/path URL syntax. Java FSP library needs to be registered into java.net.URL subsystem first.Application - wide installationJust add one line of code to your application:java.net.URL.setURLStreamHandlerFactory(new net.fsp.Handler()); System - wide installationRead API documentation for java.net.URL class. You need to set value of system property java.protocol.handler.pkgs to `net` and install net.fsp package into your CLASSPATH or install provided jar file into Java system directory.Using FSP util APIYou can also use class net.fsp.FSPutil which has similar API to FSP protocol suite util library.DownloadSee download page. |