Package org.verapdf.features
Class ICCProfileFeaturesData
java.lang.Object
org.verapdf.features.FeaturesData
org.verapdf.features.ICCProfileFeaturesData
- All Implemented Interfaces:
Closeable,AutoCloseable
Features data of an iccprofile for feature extractor
- Author:
- Maksim Bezrukov
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getN()getRange()static ICCProfileFeaturesDatanewInstance(InputStream metadata, InputStream stream, Integer n, List<Double> range) Creates ICCProfileFeaturesDataMethods inherited from class org.verapdf.features.FeaturesData
getStream
-
Method Details
-
newInstance
public static ICCProfileFeaturesData newInstance(InputStream metadata, InputStream stream, Integer n, List<Double> range) Creates ICCProfileFeaturesData- Parameters:
metadata- metadata streamstream- object streamn- parameter N from the iccprofile dictionaryrange- parameter Range from the iccprofile dictionary
-
getMetadata
- Returns:
- metadata stream
-
getN
- Returns:
- parameter N from the iccprofile dictionary
-
getRange
- Returns:
- parameter Range from the iccprofile dictionary
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFeaturesData- Throws:
IOException
-