gpl.fredy.io
Class FileWriter

java.lang.Object
  extended by gpl.fredy.io.FileWriter

public class FileWriter
extends java.lang.Object


Constructor Summary
FileWriter()
           
FileWriter(java.lang.String fileName, java.io.InputStream is)
           
FileWriter(java.lang.String content, java.lang.String fileName)
           
FileWriter(java.lang.String content, java.lang.String fileName, java.lang.String swit)
           
 
Method Summary
 void directoryCheck()
           
 java.lang.String getContent()
          Get the value of content.
 java.io.File getFile()
          Get the value of file.
 java.lang.String getFileName()
          Get the value of fileName.
 MyFileFilter getFilter()
          Get the value of filter.
 java.lang.String getMessage()
          Get the value of message.
 java.lang.String getPath()
          Get the value of path.
 java.lang.String getSwitch()
          Get the value of swit.
 java.lang.String getTitle()
          Get the value of title.
static void main(java.lang.String[] args)
           
 void makeVersion()
           
 void selectFile()
           
 void setContent(java.lang.String v)
          Set the value of content.
 void setFile(java.io.File v)
           
 void setFile(java.lang.String v)
          Set the value of file.
 void setFileName(java.lang.String v)
          Set the value of fileName.
 void setFilter(java.lang.String[] f)
          Set the Filefilter
 void setMessage(java.lang.String v)
          Set the value of message.
 void setSwitch(java.lang.String v)
          Set the value of switch.
 void setTitle(java.lang.String v)
          Set the value of title.
 void verify()
           
 void write()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileWriter

public FileWriter()

FileWriter

public FileWriter(java.lang.String fileName,
                  java.io.InputStream is)

FileWriter

public FileWriter(java.lang.String content,
                  java.lang.String fileName,
                  java.lang.String swit)

FileWriter

public FileWriter(java.lang.String content,
                  java.lang.String fileName)
Method Detail

getFileName

public java.lang.String getFileName()
Get the value of fileName.

Returns:
value of fileName.

setFileName

public void setFileName(java.lang.String v)
Set the value of fileName.

Parameters:
v - Value to assign to fileName.

getTitle

public java.lang.String getTitle()
Get the value of title.

Returns:
value of title.

setTitle

public void setTitle(java.lang.String v)
Set the value of title.

Parameters:
v - Value to assign to title.

getPath

public java.lang.String getPath()
Get the value of path.

Returns:
value of path.

getContent

public java.lang.String getContent()
Get the value of content.

Returns:
value of content.

setContent

public void setContent(java.lang.String v)
Set the value of content.

Parameters:
v - Value to assign to content.

getFile

public java.io.File getFile()
Get the value of file.

Returns:
value of file.

setFile

public void setFile(java.lang.String v)
Set the value of file.

Parameters:
v - Value to assign to file.

setFile

public void setFile(java.io.File v)

getSwitch

public java.lang.String getSwitch()
Get the value of swit.

Returns:
value of switch.

setSwitch

public void setSwitch(java.lang.String v)
Set the value of switch.

Parameters:
v - Value to assign to switch.

getMessage

public java.lang.String getMessage()
Get the value of message.

Returns:
value of message.

setMessage

public void setMessage(java.lang.String v)
Set the value of message.

Parameters:
v - Value to assign to message.

selectFile

public void selectFile()

getFilter

public MyFileFilter getFilter()
Get the value of filter.

Returns:
value of filter.

setFilter

public void setFilter(java.lang.String[] f)
Set the Filefilter

Parameters:
extensions - are the desired File-extensions
description - the description of the filter

verify

public void verify()

makeVersion

public void makeVersion()

directoryCheck

public void directoryCheck()

write

public void write()

main

public static void main(java.lang.String[] args)