Klasse CSVHierarchyInput

java.lang.Object
org.deidentifier.arx.io.CSVHierarchyInput

public class CSVHierarchyInput extends Object
Reads a CSV encoded generalization hierarchy.
  • Konstruktordetails

    • CSVHierarchyInput

      public CSVHierarchyInput(File file, Charset charset) throws IOException
      Instantiate.
      Parameter:
      file - the file
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • CSVHierarchyInput

      public CSVHierarchyInput(File file, Charset charset, char delimiter) throws IOException
      Instantiate.
      Parameter:
      file - the file
      delimiter - the delimiter
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • CSVHierarchyInput

      public CSVHierarchyInput(File file, Charset charset, char delimiter, char quote) throws IOException
      Instantiate.
      Parameter:
      file - the file
      delimiter - the delimiter
      quote - the quote
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • CSVHierarchyInput

      public CSVHierarchyInput(File file, Charset charset, char delimiter, char quote, char escape) throws IOException
      Instantiate.
      Parameter:
      file - the file
      delimiter - the delimiter
      quote - the quote
      escape - the escape
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • CSVHierarchyInput

      public CSVHierarchyInput(File file, Charset charset, char delimiter, char quote, char escape, char[] linebreak) throws IOException
      Instantiate.
      Parameter:
      file - the file
      delimiter - the delimiter
      quote - the quote
      escape - the escape
      linebreak - the linebreak
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • CSVHierarchyInput

      public CSVHierarchyInput(File file, Charset charset, CSVSyntax config) throws IOException
      Instantiate.
      Parameter:
      file - the file
      config - the config
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • CSVHierarchyInput

      public CSVHierarchyInput(InputStream stream, Charset charset) throws IOException
      Instantiate.
      Parameter:
      stream - the stream
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • CSVHierarchyInput

      public CSVHierarchyInput(InputStream stream, Charset charset, char delimiter) throws IOException
      Instantiate.
      Parameter:
      stream - the stream
      delimiter - the delimiter
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • CSVHierarchyInput

      public CSVHierarchyInput(InputStream stream, Charset charset, char delimiter, char quote) throws IOException
      Instantiate.
      Parameter:
      stream - the stream
      delimiter - the delimiter
      quote - the quote
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • CSVHierarchyInput

      public CSVHierarchyInput(InputStream stream, Charset charset, char delimiter, char quote, char escape) throws IOException
      Instantiate.
      Parameter:
      stream - the stream
      delimiter - the delimiter
      quote - the quote
      escape - the escape
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • CSVHierarchyInput

      public CSVHierarchyInput(InputStream stream, Charset charset, char delimiter, char quote, char escape, char[] linebreak) throws IOException
      Instantiate.
      Parameter:
      stream - the stream
      delimiter - the delimiter
      quote - the quote
      escape - the escape
      linebreak - the linebreak
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • CSVHierarchyInput

      public CSVHierarchyInput(InputStream stream, Charset charset, CSVSyntax config) throws IOException
      Instantiate.
      Parameter:
      stream - the stream
      config - the config
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • CSVHierarchyInput

      public CSVHierarchyInput(String filename, Charset charset) throws IOException
      Instantiate.
      Parameter:
      filename - the filename
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • CSVHierarchyInput

      public CSVHierarchyInput(String filename, Charset charset, char delimiter) throws IOException
      Instantiate.
      Parameter:
      filename - the filename
      delimiter - the delimiter
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • CSVHierarchyInput

      public CSVHierarchyInput(String filename, Charset charset, char delimiter, char quote) throws IOException
      Instantiate.
      Parameter:
      filename - the filename
      delimiter - the delimiter
      quote - the quote
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • CSVHierarchyInput

      public CSVHierarchyInput(String filename, Charset charset, char delimiter, char quote, char escape) throws IOException
      Instantiate.
      Parameter:
      filename - the filename
      delimiter - the delimiter
      quote - the quote
      escape - the escape
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • CSVHierarchyInput

      public CSVHierarchyInput(String filename, Charset charset, char delimiter, char quote, char escape, char[] linebreak) throws IOException
      Instantiate.
      Parameter:
      filename - the filename
      delimiter - the delimiter
      quote - the quote
      escape - the escape
      linebreak - the linebreak
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • CSVHierarchyInput

      public CSVHierarchyInput(String filename, Charset charset, CSVSyntax config) throws IOException
      Instantiate.
      Parameter:
      filename - the filename
      config - the config
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
  • Methodendetails

    • getHierarchy

      public String[][] getHierarchy()
      Returns the hierarchy.
      Gibt zurück:
      the hierarchy