001/*****************************************************************************
002 * Copyright by The HDF Group.                                               *
003 * Copyright by the Board of Trustees of the University of Illinois.         *
004 * All rights reserved.                                                      *
005 *                                                                           *
006 * This file is part of the HDF Java Products distribution.                  *
007 * The full copyright notice, including terms governing use, modification,   *
008 * and redistribution, is contained in the files COPYING and Copyright.html. *
009 * COPYING can be found at the root of the source code distribution tree.    *
010 * Or, see http://hdfgroup.org/products/hdf-java/doc/Copyright.html.         *
011 * If you do not have access to either file, you may request a copy from     *
012 * help@hdfgroup.org.                                                        *
013 ****************************************************************************/
014
015package hdf.view;
016
017/**
018 *
019 * The text view interface for displaying text data
020 *
021 * @author Peter X. Cao
022 * @version 2.4 9/6/2007
023 */
024public abstract interface TextView extends DataView {
025    /**
026     * Returns an array of the text in this textview
027     * 
028     * @return An array of the text contained in this TextView
029     */
030    public abstract String[] getText();
031
032    /** Write the change of a dataset into file. */
033    public abstract void updateValueInFile();
034
035}