public class ClassifierExecutor
extends java.lang.Object
Constructor and Description |
---|
ClassifierExecutor() |
Modifier and Type | Method and Description |
---|---|
ClassificationFuture |
ClassifyBuffer(byte[] buffer,
java.lang.String fileName,
int priority) |
ClassificationFuture |
ClassifyFile(java.lang.String fileName,
int priority) |
ClassificationFuture |
ClassifyString(java.lang.String str,
int priority) |
void |
Destroy() |
ThreadPool |
GetThreadPool() |
public void Destroy()
public ThreadPool GetThreadPool()
public ClassificationFuture ClassifyString(java.lang.String str, int priority) throws InvalidLicenseException, LicenseExpiredException, SettingsException, java.io.IOException, java.lang.Exception
InvalidLicenseException
LicenseExpiredException
SettingsException
java.io.IOException
java.lang.Exception
public ClassificationFuture ClassifyBuffer(byte[] buffer, java.lang.String fileName, int priority) throws InvalidLicenseException, LicenseExpiredException, SettingsException, UnsupportedMimeTypeException, java.io.IOException, java.lang.Exception
InvalidLicenseException
LicenseExpiredException
SettingsException
UnsupportedMimeTypeException
java.io.IOException
java.lang.Exception
public ClassificationFuture ClassifyFile(java.lang.String fileName, int priority) throws InvalidLicenseException, LicenseExpiredException, SettingsException, UnsupportedMimeTypeException, java.io.FileNotFoundException, java.io.IOException, java.lang.Exception
InvalidLicenseException
LicenseExpiredException
SettingsException
UnsupportedMimeTypeException
java.io.FileNotFoundException
java.io.IOException
java.lang.Exception