Modifier and Type | Method and Description |
---|---|
boolean |
exists()
Check if the following media point to an existing target (could be file of directory).
|
File |
getFile()
Get the file descriptor.
|
InputStream |
getInputStream()
Get the media input stream.
|
Collection<Media> |
getMedias()
Get the medias in the media path.
|
String |
getName()
Get the media name (excluding its path).
|
OutputStream |
getOutputStream()
Get the media output stream.
|
String |
getParentPath()
Get the media parent path.
|
String |
getPath()
Get the media path.
|
String getPath()
String getParentPath()
File getFile()
LionEngineException
- If descriptor is not accessible.Collection<Media> getMedias()
LionEngineException
- If not a valid directory.InputStream getInputStream()
LionEngineException
- If error when getting the stream.OutputStream getOutputStream()
LionEngineException
- If error when getting the stream.boolean exists()
true
if media is an existing file or directory, false
else.Copyright © 2017 Byron 3D Games Studio. All rights reserved.