|
Sweet Home 3D 4.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eteks.sweethome3d.tools.URLContent
public class URLContent
URL content for files, images...
| Constructor Summary | |
|---|---|
URLContent(URL url)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Returns true if the object in parameter is an URL content
that references the same URL as this object. |
String |
getJAREntryName()
Returns the name of a JAR entry. |
URL |
getJAREntryURL()
Returns the URL base of a JAR entry. |
URL |
getURL()
Returns the URL of this content. |
int |
hashCode()
|
boolean |
isJAREntry()
Returns true if the URL stored by this content
references an entry in a JAR. |
InputStream |
openStream()
Returns an InputStream on the URL content. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URLContent(URL url)
| Method Detail |
|---|
public URL getURL()
public InputStream openStream()
throws IOException
openStream in interface ContentIOException - if URL stream can't be opened.public boolean isJAREntry()
true if the URL stored by this content
references an entry in a JAR.
public URL getJAREntryURL()
IllegalStateException - if the URL of this content
doesn't reference an entry in a JAR.public String getJAREntryName()
IllegalStateException - if the URL of this content
doesn't reference an entry in a JAR URL.public boolean equals(Object obj)
true if the object in parameter is an URL content
that references the same URL as this object.
equals in class Objectpublic int hashCode()
hashCode in class Object
|
Sweet Home 3D 4.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
![]() |
© Copyrights 2006-2013 eTeks - All rights reserved
Distributed under GNU General Public License |