public final class LisFile extends Object
Constructor and Description |
---|
LisFile()
Create an empty LIS file instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addRecord(LisRecord record)
Add the specified record to this LIS file.
|
void |
clearCurves()
Clear curve data from all curves of this LIS file.
|
LisRecord |
findRecord(LisRecord.Type type)
Find a record of the specified type.
|
List<LisRecord> |
findRecords(LisRecord.Type type)
Find all records of the specified type.
|
List<LisCurve> |
getCurves()
Return the curves of this LIS file instance.
|
LisCurve |
getIndexCurve()
Return the index curve of this LIS file.
|
String |
getName()
Return name of this LIS file.
|
int |
getNCurves()
Return number of curves in this LIS file.
|
List<LisRecord> |
getRecords()
Return the (non-data) records of this LIS file.
|
int |
getSubSample()
Find the smallest possible sub sample number
for the curves of this LIS file.
|
boolean |
hasCurveData()
Check if this LIS file instance contains bulk data.
|
String |
toString() |
public String getName()
public List<LisRecord> findRecords(LisRecord.Type type)
type
- Type of records to find. Non-null.IllegalArgumentException
- If type is null.public LisRecord findRecord(LisRecord.Type type)
type
- Type of record to find. Non-null.IllegalArgumentException
- If type is null.public boolean hasCurveData()
public void addRecord(LisRecord record)
Called by the reader, or by a client program that builds a LIS file instance that later should be written to disk.
record
- Record to add. Non-null.IllegalArgumentException
- If record is null.public List<LisRecord> getRecords()
public int getSubSample()
public int getNCurves()
public LisCurve getIndexCurve()
public List<LisCurve> getCurves()
public void clearCurves()
Copyright © 2024 Petroware AS - https://petroware.no