public class Classifier
extends java.lang.Object
Constructor and Description |
---|
Classifier() |
Modifier and Type | Method and Description |
---|---|
void |
Cancel() |
Classification |
ClassifyBuffer(byte[] buffer,
java.lang.String fileName) |
Classification |
ClassifyFile(java.lang.String fileName) |
Classification |
ClassifyString(java.lang.String str) |
void |
Destroy() |
boolean |
IsCanceled() |
public void Destroy()
public void Cancel()
public boolean IsCanceled()
public Classification ClassifyString(java.lang.String str) throws InvalidLicenseException, LicenseExpiredException, SettingsException, java.util.concurrent.CancellationException, NoKnownDataException, java.io.IOException, java.lang.Exception
InvalidLicenseException
LicenseExpiredException
SettingsException
java.util.concurrent.CancellationException
NoKnownDataException
java.io.IOException
java.lang.Exception
public Classification ClassifyBuffer(byte[] buffer, java.lang.String fileName) throws InvalidLicenseException, LicenseExpiredException, SettingsException, java.util.concurrent.CancellationException, UnsupportedMimeTypeException, NoKnownDataException, java.io.IOException, java.lang.Exception
InvalidLicenseException
LicenseExpiredException
SettingsException
java.util.concurrent.CancellationException
UnsupportedMimeTypeException
NoKnownDataException
java.io.IOException
java.lang.Exception
public Classification ClassifyFile(java.lang.String fileName) throws InvalidLicenseException, LicenseExpiredException, SettingsException, java.util.concurrent.CancellationException, UnsupportedMimeTypeException, NoKnownDataException, java.io.FileNotFoundException, java.io.IOException, java.lang.Exception
InvalidLicenseException
LicenseExpiredException
SettingsException
java.util.concurrent.CancellationException
UnsupportedMimeTypeException
NoKnownDataException
java.io.FileNotFoundException
java.io.IOException
java.lang.Exception