public class JobResult extends Object
Modifier | Constructor and Description |
---|---|
protected |
JobResult(String idx,
File path,
String mediaType)
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
asStream()
Get the contents of the resource as an
InputStream . |
boolean |
equals(Object obj) |
String |
getIdx()
Gets the idx for this instance.
|
String |
getMediaType()
Gets the mediaType for this instance.
|
File |
getPath()
Gets the path for this instance.
|
long |
getSize()
Returns the size of the file pointed by path in bytes
|
int |
hashCode() |
JobResult |
strip()
Gets a result without the first index level
|
String |
toString() |
public JobResult strip()
public String getIdx()
public File getPath()
public String getMediaType()
public InputStream asStream() throws IOException
InputStream
.IOException
public long getSize()
Copyright © 2010–2024 The DAISY Consortium. All rights reserved.