Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.esupportail.portal.channels.CStockage.provider
Class ResourceControl

    java.lang.Object
      org.esupportail.portal.channels.CStockage.provider.ResourceControl

public class ResourceControl
extends java.lang.Object

Id: ResourceControl.java,v 1.0
Copyright (c) 2004 Esup Portail (www.esup-portail.org)
Classes: ResourceControl
Original Author: S閎astien Gougeon
Class used as a util tool

Field Summary
`protected static Log` | `log` Logger object

Constructor Summary
`ResourceControl()`

Method Summary
`static boolean` | `isWellFormed(java.lang.String name)` Check if the resource name is well formed accept all string that begining by _ a-z A-Z 0-9 噤忏殛桦铒祠鲵觖珩滥旅扇耸滔我衷召苒茄 deny string that begining by .

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### log

    protected static final Log log

  Logger object

Constructor Detail

### ResourceControl

    public ResourceControl()

Method Detail

### isWellFormed

    public static boolean isWellFormed(java.lang.String name)
                                throws PropertiesException

  Check if the resource name is well formed
  accept all string that begining by _ a-z A-Z 0-9 噤忏殛桦铒祠鲵觖珩滥旅扇耸滔我衷召苒茄
  deny string that begining by .
  after all characters a-z A-Z 0-9 噤忏殛桦铒祠鲵觖珩滥旅扇耸滔我衷召苒茄 . _ - are accept, others are denied

  Parameters:
    `name` - name of the file/directory to verify
  Returns:
    true if file/directory is well formed else false
  Throws:
    `PropertiesException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD