You are here: com.dtsearch.engine Package > Classes > FileConverter Class > FileConverter.setTimeoutSeconds Method
dtSearch Engine API for Java
FileConverter.setTimeoutSeconds Method

Set timeoutSeconds to the maximum amount of time you want to permit.

public void setTimeoutSeconds(int newTimeoutSeconds);

When this time is exceeded, execution will halt leaving incomplete results in the output file or output string. If timeoutSeconds is 0 (the default), no time limit will be set. After a timeout has occured, getErrors() will return the error code dtsErTimeout.

Copyright (c) 1998-2019 dtSearch Corp. All rights reserved.