LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.info.location
Class LyFileLocation

java.lang.Object
  extended by leon.info.LyTag
      extended by leon.info.LyInfo
          extended by leon.info.location.LyLocation
              extended by leon.info.location.LyFileLocation
All Implemented Interfaces:
java.lang.Cloneable, LyCommentInterface

public class LyFileLocation
extends LyLocation

This class implements a data file location.


Nested Class Summary
static class LyFileLocation.Type
          Location types.
 
Nested classes/interfaces inherited from class leon.info.LyTag
LyTag.Model
 
Field Summary
static java.lang.String __VERSION
           
static java.lang.String FIELD_SEP
          Default separator used between fields.
static java.lang.String VALUE_SEP
          Default separator used between values.
 
Fields inherited from class leon.info.location.LyLocation
DEFAULT_LOCATION, ID_L_EXTEND, ID_L_INFO, ID_L_UNION
 
Constructor Summary
LyFileLocation(java.lang.String id)
          Constructor.
LyFileLocation(java.lang.String id, java.lang.String url, LyFileLocation.Type type, java.lang.String fieldSep, java.lang.String valueSep)
          Constructor.
LyFileLocation(java.lang.String id, java.lang.String url, java.lang.String type, java.lang.String fieldSep, java.lang.String valueSep)
          Deprecated. replaced by LyFileLocation(String, String, Type, String, String)
 
Method Summary
 java.lang.String getFieldSep()
          Accessor to the field separator of this location.
 LyFileLocation.Type getType()
          Accessor to the url of this location.
 java.lang.String getValueSep()
          Accessor to the value separator of this location.
 boolean isPersistent()
          Accessor of the persistent mode of this location.
 
Methods inherited from class leon.info.location.LyLocation
check, getNotifier, getUrl, setNotifier
 
Methods inherited from class leon.info.LyInfo
getAlias, getApplication, getFile, getId, getInclude, getName, isIncluded, isInternal, isInternal, isLoaded, isLocked, load, setApplication, setFile, toString
 
Methods inherited from class leon.info.LyTag
clone, getCommentsEnd, getCommentsStart, getEnvironment, getModelType, getParent, getRootProject, hasAncestor, isExtern, setCommentsEnd, setCommentsStart, wasCloned
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface leon.parser.LyCommentInterface
getCommentsEnd, getCommentsStart, setCommentsEnd, setCommentsStart
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values

FIELD_SEP

public static final java.lang.String FIELD_SEP
Default separator used between fields.


VALUE_SEP

public static final java.lang.String VALUE_SEP
Default separator used between values.

Constructor Detail

LyFileLocation

public LyFileLocation(java.lang.String id)
Constructor.

Parameters:
id - identifier of the location

LyFileLocation

public LyFileLocation(java.lang.String id,
                      java.lang.String url,
                      java.lang.String type,
                      java.lang.String fieldSep,
                      java.lang.String valueSep)
Deprecated. replaced by LyFileLocation(String, String, Type, String, String)

Constructor.

Parameters:
id - identifier of the location
url - url of the provider
type - type of file
fieldSep - Field separator
valueSep - Value separator

LyFileLocation

public LyFileLocation(java.lang.String id,
                      java.lang.String url,
                      LyFileLocation.Type type,
                      java.lang.String fieldSep,
                      java.lang.String valueSep)
Constructor.

Parameters:
id - identifier of the location
url - url of the provider
type - type of file
fieldSep - Field separator
valueSep - Value separator
Method Detail

getType

public LyFileLocation.Type getType()
Accessor to the url of this location.

Returns:
the type of this location

getFieldSep

public java.lang.String getFieldSep()
Accessor to the field separator of this location.

Returns:
the field separator of this location

getValueSep

public java.lang.String getValueSep()
Accessor to the value separator of this location.

Returns:
the value separator of this location

isPersistent

public boolean isPersistent()
Accessor of the persistent mode of this location.

Overrides:
isPersistent in class LyLocation
Returns:
persistent mode is always false for a file location.

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com