Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gsoft.util
Class FileObfuscatorManager  view FileObfuscatorManager download FileObfuscatorManager.java

java.lang.Object
  extended bygsoft.util.SecurityObfuscator
      extended bygsoft.util.FileObfuscatorManager
Direct Known Subclasses:
FileController, FileObfuscator

public abstract class FileObfuscatorManager
extends SecurityObfuscator


Field Summary
private  java.lang.StringBuffer configFile
           
private  java.io.FileInputStream fileInputStream
           
private  java.lang.String inputFile
           
private  java.lang.String outputFile
           
private  java.io.DataOutputStream outputStream
           
private  gsoft.xervlet.TagReader propertyReader
           
 
Fields inherited from class gsoft.util.SecurityObfuscator
 
Constructor Summary
FileObfuscatorManager()
           
 
Method Summary
private  void decryptFile()
           
 java.lang.String decryptForUse()
           
private  void encryptFile()
           
 void executeObfuscator()
           
 void executeObfuscator(java.lang.String[] args)
           
abstract  java.lang.String fetchPropertyFile()
           
abstract  java.lang.String fetchPropertyRootTag()
           
 java.lang.String getDecryptedFile()
           
private  void loadProperties(java.lang.String file)
           
private  void openFile(java.lang.String inputFile)
           
private  void showConfigExample()
           
 void showSyntax()
           
private  void viewFile()
           
private  void writeFile(java.lang.String outputFile, java.lang.String dataOutput)
           
 
Methods inherited from class gsoft.util.SecurityObfuscator
obfuscator, reverseObfuscator, setHashMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileInputStream

private java.io.FileInputStream fileInputStream

outputStream

private java.io.DataOutputStream outputStream

configFile

private java.lang.StringBuffer configFile

propertyReader

private gsoft.xervlet.TagReader propertyReader

inputFile

private java.lang.String inputFile

outputFile

private java.lang.String outputFile
Constructor Detail

FileObfuscatorManager

public FileObfuscatorManager()
Method Detail

fetchPropertyFile

public abstract java.lang.String fetchPropertyFile()

fetchPropertyRootTag

public abstract java.lang.String fetchPropertyRootTag()

executeObfuscator

public void executeObfuscator()

executeObfuscator

public void executeObfuscator(java.lang.String[] args)

loadProperties

private void loadProperties(java.lang.String file)
                     throws java.lang.Exception

showConfigExample

private void showConfigExample()

decryptForUse

public java.lang.String decryptForUse()
                               throws java.lang.Exception

encryptFile

private void encryptFile()
                  throws java.lang.Exception

decryptFile

private void decryptFile()
                  throws java.lang.Exception

viewFile

private void viewFile()
               throws java.lang.Exception

getDecryptedFile

public java.lang.String getDecryptedFile()
                                  throws java.lang.Exception

openFile

private void openFile(java.lang.String inputFile)
               throws java.lang.Exception

writeFile

private void writeFile(java.lang.String outputFile,
                       java.lang.String dataOutput)
                throws java.lang.Exception

showSyntax

public void showSyntax()