Klasse AttributeType.Hierarchy

java.lang.Object
org.deidentifier.arx.AttributeType
org.deidentifier.arx.AttributeType.Hierarchy
Alle implementierten Schnittstellen:
Serializable, Cloneable
Bekannte direkte Unterklassen:
AttributeType.Hierarchy.DefaultHierarchy
Umschließende Klasse:
AttributeType

public abstract static class AttributeType.Hierarchy extends AttributeType implements Serializable
This class implements a generalization hierarchy.
Siehe auch:
  • Konstruktordetails

    • Hierarchy

      public Hierarchy()
      Instantiates a new hierarchy.
  • Methodendetails

    • create

      Creates a new default hierarchy.
      Gibt zurück:
      A Hierarchy
    • create

      public static AttributeType.Hierarchy create(File file, Charset charset) throws IOException
      Creates a new hierarchy from a CSV file.
      Parameter:
      file - the file
      charset - the charset
      Gibt zurück:
      the hierarchy
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • create

      public static AttributeType.Hierarchy create(File file, Charset charset, char delimiter) throws IOException
      Creates a new hierarchy from a CSV file.
      Parameter:
      file - A file
      delimiter - The utilized separator character
      Gibt zurück:
      A Hierarchy
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • create

      public static AttributeType.Hierarchy create(File file, Charset charset, char delimiter, char quote) throws IOException
      Creates a new hierarchy from a CSV file.
      Parameter:
      file - the file
      charset - the charset
      delimiter - the delimiter
      quote - the quote
      Gibt zurück:
      the hierarchy
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • create

      public static AttributeType.Hierarchy create(File file, Charset charset, char delimiter, char quote, char escape) throws IOException
      Creates a new hierarchy from a CSV file.
      Parameter:
      file - the file
      charset - the charset
      delimiter - the delimiter
      quote - the quote
      escape - the escape
      Gibt zurück:
      the hierarchy
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • create

      public static AttributeType.Hierarchy create(File file, Charset charset, char delimiter, char quote, char escape, char[] linebreak) throws IOException
      Creates a new hierarchy from a CSV file.
      Parameter:
      file - the file
      charset - the charset
      delimiter - the delimiter
      quote - the quote
      escape - the escape
      linebreak - the linebreak
      Gibt zurück:
      the hierarchy
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • create

      public static AttributeType.Hierarchy create(File file, Charset charset, CSVSyntax config) throws IOException
      Creates a new hierarchy from a CSV file.
      Parameter:
      file -
      config -
      Gibt zurück:
      Löst aus:
      IOException
    • create

      public static AttributeType.Hierarchy create(InputStream stream, Charset charset) throws IOException
      Creates a new hierarchy from a CSV file.
      Parameter:
      stream - the stream
      Gibt zurück:
      the hierarchy
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • create

      public static AttributeType.Hierarchy create(InputStream stream, Charset charset, char delimiter) throws IOException
      Creates a new hierarchy from a CSV file.
      Parameter:
      stream - An input stream
      charset - the charset
      delimiter - The utilized separator character
      Gibt zurück:
      A Hierarchy
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • create

      public static AttributeType.Hierarchy create(InputStream stream, Charset charset, char delimiter, char quote) throws IOException
      Creates a new hierarchy from a CSV file.
      Parameter:
      stream - the stream
      charset - the charset
      delimiter - the delimiter
      quote - the quote
      Gibt zurück:
      the hierarchy
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • create

      public static AttributeType.Hierarchy create(InputStream stream, Charset charset, char delimiter, char quote, char escape) throws IOException
      Creates a new hierarchy from a CSV file.
      Parameter:
      stream - the stream
      charset - the charset
      delimiter - the delimiter
      quote - the quote
      escape - the escape
      Gibt zurück:
      the hierarchy
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • create

      public static AttributeType.Hierarchy create(InputStream stream, Charset charset, char delimiter, char quote, char escape, char[] linebreak) throws IOException
      Creates a new hierarchy from a CSV file.
      Parameter:
      stream - the stream
      charset - the charset
      delimiter - the delimiter
      quote - the quote
      escape - the escape
      linebreak - the linebreak
      Gibt zurück:
      the hierarchy
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • create

      public static AttributeType.Hierarchy create(InputStream stream, Charset charset, CSVSyntax config) throws IOException
      Creates a new hierarchy from a CSV file.
      Parameter:
      stream -
      charset -
      config -
      Gibt zurück:
      Löst aus:
      IOException
    • create

      public static AttributeType.Hierarchy create(Iterator<String[]> iterator)
      Creates a new hierarchy from an iterator over tuples.
      Parameter:
      iterator - An iterator
      Gibt zurück:
      A Hierarchy
    • create

      public static AttributeType.Hierarchy create(List<String[]> list)
      Creates a new hierarchy from a list.
      Parameter:
      list - The list
      Gibt zurück:
      A Hierarchy
    • create

      public static AttributeType.Hierarchy create(String path, Charset charset, char separator) throws IOException
      Creates a new hierarchy from a CSV file.
      Parameter:
      path - A path to the file
      charset - the charset
      separator - The utilized separator character
      Gibt zurück:
      A Hierarchy
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • create

      public static AttributeType.Hierarchy create(String path, Charset charset, CSVSyntax config) throws IOException
      Creates a new hierarchy from a CSV file.
      Parameter:
      path -
      charset -
      config -
      Gibt zurück:
      Löst aus:
      IOException
    • create

      public static AttributeType.Hierarchy create(String[][] array)
      Creates a new hierarchy from a two-dimensional string array.
      Parameter:
      array - The array
      Gibt zurück:
      A Hierarchy
    • clone

      public abstract AttributeType.Hierarchy clone()
      Setzt außer Kraft:
      clone in Klasse AttributeType
    • getHierarchy

      public abstract String[][] getHierarchy()
      Returns the hierarchy as a two-dimensional string array.
      Gibt zurück:
      the hierarchy
    • save

      public void save(File file) throws IOException
      Writes the hierarchy to a CSV file.
      Parameter:
      file - the file
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • save

      public void save(File file, char delimiter) throws IOException
      Writes the hierarchy to a CSV file.
      Parameter:
      file - A file
      delimiter - The utilized separator character
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • save

      public void save(File file, CSVSyntax config) throws IOException
      Writes the hierarchy to a CSV file.
      Parameter:
      file - the file
      config - the config
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • save

      public void save(OutputStream out) throws IOException
      Writes the hierarchy to a CSV file.
      Parameter:
      out - the out
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • save

      public void save(OutputStream out, char delimiter) throws IOException
      Writes the hierarchy to a CSV file.
      Parameter:
      out - A output stream
      delimiter - The utilized separator character
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • save

      public void save(OutputStream out, CSVSyntax config) throws IOException
      Writes the hierarchy to a CSV file.
      Parameter:
      out - the out
      config - the config
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • save

      public void save(String path) throws IOException
      Writes the hierarchy to a CSV file.
      Parameter:
      path - the path
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • save

      public void save(String path, char delimiter) throws IOException
      Writes the hierarchy to a CSV file.
      Parameter:
      path - A path
      delimiter - The utilized separator character
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • save

      public void save(String path, CSVSyntax config) throws IOException
      Writes the hierarchy to a CSV file.
      Parameter:
      path - the path
      config - the config
      Löst aus:
      IOException - Signals that an I/O exception has occurred.