public final class DirectInputFragment extends Object
Constructor and Description |
---|
DirectInputFragment(String path,
long offset,
long length,
List<String> ownerNodeNames)
Creates a new instance with no attributes.
|
DirectInputFragment(String path,
long offset,
long length,
List<String> ownerNodeNames,
Map<String,String> attributes)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getAttributes()
Returns the extra attributes.
|
long |
getOffset()
Returns the byte offset of this fragment.
|
List<String> |
getOwnerNodeNames()
Returns the node names of this owners.
|
String |
getPath()
Returns the path to this fragment.
|
long |
getSize()
Returns the byte length of this fragment.
|
String |
toString() |
public DirectInputFragment(String path, long offset, long length, List<String> ownerNodeNames)
path
- the pathoffset
- the byte offsetlength
- the byte lengthownerNodeNames
- the owner host namesIllegalArgumentException
- if some parameters were null
public DirectInputFragment(String path, long offset, long length, List<String> ownerNodeNames, Map<String,String> attributes)
path
- the pathoffset
- the byte offsetlength
- the byte lengthownerNodeNames
- the owner host namesattributes
- the attributes for each fragmentsIllegalArgumentException
- if some parameters were null
public String getPath()
public long getOffset()
public long getSize()
public List<String> getOwnerNodeNames()
public Map<String,String> getAttributes()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.