vqServer API Class vq.server.Filetypes

java.lang.Object
    |
    +----vq.utils.kllist
            |
            +----vq.server.Filetypes
Contents
Package index
Package
API index

public class Filetypes
extends kllist
Represents a list of file types, usually associated with an HTTPServer. Warning: vqServer will not operate correctly if you add anything other than instances of Filetype to an instance of Filetypes.


Constructor Index

 o Filetypes()
Creates an empty list.

Method Index

 o add(Filetype)
Adds a file type to the list.
 o save(vqos)
Writes the list to the output stream specified in vqServer .cfg file format.

Constructor Detail

 o Filetypes
public Filetypes()
          Creates an empty list.

Method Detail

 o add
public void add(Filetype tmime)
          Adds a file type to the list. The position of the file type in the list is determined by its name.
 o save
public void save(vqos os) throws java.io.IOException
          Writes the list to the output stream specified in vqServer .cfg file format. Calls the save(vqos) method of each file type in the list.
Overrides:
save in class kllist


vqServer API version 1.9. vqServer and the vqServer API are copyright © Steve Shering and vqSoft 1997-2000. Last updated 15 May 2000.

Contents
Package index
Package
API index