Top Fields Constructors Methods
org.hibernate.boot.archive.internal

public Class UrlInputStreamAccess

extends Object
implements InputStreamAccess
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.archive.spi.InputStreamAccess
Imports
java.io.InputStream, java.net.URL, org.hibernate.HibernateException, org.hibernate.boot.archive.spi.InputStreamAccess

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final URL

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public InputStream
public String
getStreamName()

Implements org.hibernate.boot.archive.spi.InputStreamAccess.getStreamName.

Get the name of the resource backing the stream
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

urlback to summary
private final URL url

Constructor Detail

UrlInputStreamAccessback to summary
public UrlInputStreamAccess(URL url)

Method Detail

accessInputStreamback to summary
public InputStream accessInputStream()

Implements org.hibernate.boot.archive.spi.InputStreamAccess.accessInputStream.

Doc from org.hibernate.boot.archive.spi.InputStreamAccess.accessInputStream.

Get access to the stream. Can be called multiple times, a different stream instance should be returned each time.

Returns:InputStream

The stream

Annotations
@Override
getStreamNameback to summary
public String getStreamName()

Implements org.hibernate.boot.archive.spi.InputStreamAccess.getStreamName.

Doc from org.hibernate.boot.archive.spi.InputStreamAccess.getStreamName.

Get the name of the resource backing the stream

Returns:String

The backing resource name

Annotations
@Override