public abstract class CategoryParser
extends java.lang.Object
Analisador de Categorias.
Este parser lê e escreve um arquivo que representa o repositório de categorias.
| Modifier | Constructor and Description |
|---|---|
protected |
CategoryParser()
Cria o analisador.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract AlgorithmInfo |
getAlgorithmById(java.lang.String algorithmId)
Obtém um algoritmo dado o seu identificador.
|
java.util.Set<Category> |
read(java.io.Reader reader)
Lê as categorias que são raízes da floresta de categorias.
|
public final java.util.Set<Category> read(java.io.Reader reader) throws OperationFailureException
reader - O leitor (Não aceita null).OperationFailureExceptionprotected abstract AlgorithmInfo getAlgorithmById(java.lang.String algorithmId) throws OperationFailureException
Obtém um algoritmo dado o seu identificador.
algorithmId - O identificador do algoritmo (Não aceita null).null se o algoritmo não existir.OperationFailureException - Se ocorrer um erro ao tentar obter
informações do algoritmo.Copyright © 2018. All Rights Reserved.