Class BytesURLStreamHandler


  • public class BytesURLStreamHandler
    extends java.net.URLStreamHandler
    Author:
    Hani Suleiman (hani@formicary.net) Date: Oct 20, 2003 Time: 12:45:18 AM
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) byte[] content  
      (package private) int length  
      (package private) int offset  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.URLConnection openConnection​(java.net.URL url)  
      • Methods inherited from class java.net.URLStreamHandler

        equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • content

        byte[] content
      • offset

        int offset
      • length

        int length
    • Constructor Detail

      • BytesURLStreamHandler

        public BytesURLStreamHandler​(byte[] content)
    • Method Detail

      • openConnection

        public java.net.URLConnection openConnection​(java.net.URL url)
        Specified by:
        openConnection in class java.net.URLStreamHandler