controller
Class Processus

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by controller.Processus
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

Deprecated. Do not use : see changes on others before change here and use it...

public class Processus
extends javax.servlet.http.HttpServlet

Main controler ; interaction between modele (algorithms implementation) and viewing with JSP/web pages.
A «repository» directory is needed on root of Tomcat server to record submitted alignments, see on Fichier class to give the good root where records are done.

Since:
July 2008
Author:
Gabriel Chandesris (2008)
See Also:
Algorithms, Palindrome, PalindromeListe, PalindromeListeListe, Sequence, SequenceListe, Fichier, FichierFasta, Processus_old, Fichier.dir, Serialized Form

Field Summary
private static long serialVersionUID
          Deprecated. Servlet serial Number (42).
 
Constructor Summary
Processus()
          Deprecated.  
 
Method Summary
static java.lang.String alignmentRecord(java.lang.String alignment)
          Deprecated. Use of FichierFasta
static java.lang.String alignmentRecordTemp(java.lang.String alignment)
          Deprecated. Use of FichierFasta
private static java.lang.String decoupeString(java.lang.String chaineDecoupe)
          Deprecated. This method to cut a String by 80 characters length substring.
 void doGet(javax.servlet.http.HttpServletRequest requete, javax.servlet.http.HttpServletResponse reponse)
          Deprecated. To prevent from reload pages of accession without any "normal use".
 void doPost(javax.servlet.http.HttpServletRequest requete, javax.servlet.http.HttpServletResponse reponse)
          Deprecated. To obtain data from POST form.
private static java.lang.String getScriptDestination(int numInterface)
          Deprecated. To get the page where to go...
static org.apache.commons.fileupload.disk.DiskFileItemFactory newDiskFileItemFactory(javax.servlet.ServletContext context, java.io.File repository)
          Deprecated. Use of FichierFasta
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Deprecated. 
Servlet serial Number (42).

See Also:
Constant Field Values
Constructor Detail

Processus

public Processus()
Deprecated. 
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest requete,
                  javax.servlet.http.HttpServletResponse reponse)
Deprecated. 
To prevent from reload pages of accession without any "normal use".
Make a redirection to main page of application / servlet.

Overrides:
doGet in class javax.servlet.http.HttpServlet
See Also:
doPost(HttpServletRequest, HttpServletResponse)

doPost

public void doPost(javax.servlet.http.HttpServletRequest requete,
                   javax.servlet.http.HttpServletResponse reponse)
Deprecated. 
To obtain data from POST form.

Overrides:
doPost in class javax.servlet.http.HttpServlet
Parameters:
requete - HttpServletRequest
reponse - HttpServletResponse

getScriptDestination

private static java.lang.String getScriptDestination(int numInterface)
Deprecated. 
To get the page where to go...

Parameters:
numInterface - number of the page
Returns:
(String) Path to the JSP page to go...

alignmentRecord

public static java.lang.String alignmentRecord(java.lang.String alignment)
Deprecated. Use of FichierFasta

Making the recording of alignment in a file. Could be done with FichierFasta.

Parameters:
alignment - String
Returns:
date (String)
Since:
July 2008
See Also:
Fichier, FichierFasta

alignmentRecordTemp

public static java.lang.String alignmentRecordTemp(java.lang.String alignment)
Deprecated. Use of FichierFasta

Making the recording of alignment in a file. (Don't work on the server and don't know why).

Parameters:
alignment - String
Returns:
date (String)
Since:
June 2008
See Also:
FichierFasta

decoupeString

private static java.lang.String decoupeString(java.lang.String chaineDecoupe)
Deprecated. 
This method to cut a String by 80 characters length substring.

Parameters:
chaineDecoupe - (String)
Returns:
(String)
See Also:
doPost(HttpServletRequest, HttpServletResponse)

newDiskFileItemFactory

public static org.apache.commons.fileupload.disk.DiskFileItemFactory newDiskFileItemFactory(javax.servlet.ServletContext context,
                                                                                            java.io.File repository)
Deprecated. Use of FichierFasta

To permit iploading of files...

Parameters:
context - (ServletContext)
repository - (File)
Returns:
(DiskFileItemFactory)
See Also:
FichierFasta