fr.paris.lutece.portal.business.file
Class File

java.lang.Object
  extended by fr.paris.lutece.portal.business.file.File

public class File
extends Object

class File


Constructor Summary
File()
           
 
Method Summary
 String getExtension()
           
 int getIdFile()
           
 String getMimeType()
           
 PhysicalFile getPhysicalFile()
           
 int getSize()
           
 String getTitle()
           
 void setExtension(String extension)
          set the extension of the file
 void setIdFile(int idFile)
          set the id of the file
 void setMimeType(String mimeType)
          set the mime type of the file
 void setPhysicalFile(PhysicalFile file)
          set the PhysicalFile associate to the file
 void setSize(int size)
          set the size of the file
 void setTitle(String title)
          set the title of the file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

File

public File()
Method Detail

getIdFile

public int getIdFile()
Returns:
the id of the file

setIdFile

public void setIdFile(int idFile)
set the id of the file

Parameters:
idFile - id of the file

getTitle

public String getTitle()
Returns:
the title of the file

setTitle

public void setTitle(String title)
set the title of the file

Parameters:
title - the title of the file

getSize

public int getSize()
Returns:
the size of the file

setSize

public void setSize(int size)
set the size of the file

Parameters:
size - the size of the file

getExtension

public String getExtension()
Returns:
the extension of the file

setExtension

public void setExtension(String extension)
set the extension of the file

Parameters:
extension - the title of the file

getMimeType

public String getMimeType()
Returns:
the extension of the file

setMimeType

public void setMimeType(String mimeType)
set the mime type of the file

Parameters:
mimeType - the mime type of the file

getPhysicalFile

public PhysicalFile getPhysicalFile()
Returns:
the PhysicalFile associate to the file

setPhysicalFile

public void setPhysicalFile(PhysicalFile file)
set the PhysicalFile associate to the file

Parameters:
file - PhysicalFile


Copyright © 2014 Mairie de Paris. All Rights Reserved.