Top Description Fields Constructors Methods
org.hibernate.tool.schema.internal.exec

public Class ScriptSourceInputFromUrl

extends AbstractScriptSourceInput
Class Inheritance
Imports
java.io.IOException, .InputStreamReader, .Reader, java.net.URL, org.hibernate.tool.schema.spi.SchemaManagementException, org.jboss.logging.Logger

ScriptSourceInput implementation for URL references.
Authors
Christian Beikov, Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final String
private static final Logger
private final URL

Constructor Summary

AccessConstructor and Description
public
ScriptSourceInputFromUrl(URL
The url to read from
url
,
String
The charset name
charsetName
)

Constructs a ScriptSourceInputFromUrl instance

Method Summary

Modifier and TypeMethod and Description
public boolean
public String
protected Reader
protected void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from org.hibernate.tool.schema.internal.exec.AbstractScriptSourceInput:
extract

Field Detail

charsetNameback to summary
private final String charsetName
logback to summary
private static final Logger log
urlback to summary
private final URL url

Constructor Detail

ScriptSourceInputFromUrlback to summary
public ScriptSourceInputFromUrl(URL url, String charsetName)

Constructs a ScriptSourceInputFromUrl instance

Parameters
url:URL

The url to read from

charsetName:String

The charset name

Method Detail

containsScriptback to summary
public boolean containsScript(URL url)

Overrides default org.hibernate.tool.schema.spi.ScriptSourceInput.containsScript.

Annotations
@Override
getScriptDescriptionback to summary
public String getScriptDescription()

Overrides default org.hibernate.tool.schema.spi.ScriptSourceInput.getScriptDescription.

Annotations
@Override
prepareReaderback to summary
protected Reader prepareReader()

Implements abstract org.hibernate.tool.schema.internal.exec.AbstractScriptSourceInput.prepareReader.

Annotations
@Override
releaseReaderback to summary
protected void releaseReader(Reader reader)

Implements abstract org.hibernate.tool.schema.internal.exec.AbstractScriptSourceInput.releaseReader.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override