public class FilenameURL extends Object
| Constructor and Description |
|---|
FilenameURL(String filename)
Constructor: Saves a handle to the filename (used later to generate a URL
instance).
|
FilenameURL(URL url,
String identifier)
Constructor: Saves handles to the url and identifier.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFilename()
Returns the filename/identifier.
|
URL |
getURL()
Returns the URL interface to the file.
|
public FilenameURL(URL url, String identifier)
url - URL interface to a file.identifier - Identifier (filename) for the file.public FilenameURL(String filename)
filename - Name of the file.public String getFilename()
public URL getURL()
Copyright © 2017. All rights reserved.