Microsoft SDK for Java

UserFileDialog Class

The UserFileDialog Class of the com.ms.io package provides methods for creating and displaying dialog boxes that can open files for reading, writing, and random access.

public final class UserFileDialog
{
  // Constructors
  public UserFileDialog(Frame parent,String title);

  // Methods
  public String getFileName();
  public synchronized FileInputStream openFileForReading()
        throws IOException;
  public synchronized FileOutputStream openFileForWriting()
        throws IOException;
  public synchronized RandomAccessFile openRandomAccessFile(
        String mode) throws IOException;
}

© 1999 Microsoft Corporation. All rights reserved. Terms of use.