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 file COPYING.                     *
009 * COPYING can be found at the root of the source code distribution tree.    *
010 * If you do not have access to this file, you may request a copy from       *
011 * help@hdfgroup.org.                                                        *
012 ****************************************************************************/
013
014package hdf.view;
015
016/**
017 *
018 * The text view interface for displaying text data
019 *
020 * @author Peter X. Cao
021 * @version 2.4 9/6/2007
022 */
023public abstract interface TextView extends DataView {
024    /**
025     * Returns an array of the text in this textview
026     *
027     * @return An array of the text contained in this TextView
028     */
029    public abstract String[] getText();
030
031    /** Write the change of a dataset into file. */
032    public abstract void updateValueInFile();
033
034}