org.media.mn8.concepts
Class FileConcept

java.lang.Object
  |
  +--org.media.mn8.Concept
        |
        +--org.media.mn8.JavaConcept
              |
              +--org.media.mn8.concepts.FileConcept

public class FileConcept
extends JavaConcept

Version:
$Revision: 1.20 $ $Date: 2002/10/10 22:59:19 $
Author:
Remus Pereni

Field Summary
protected  File _file
           
protected  String _fileUrl
           
 ElementConcept content
           
 AttributeConcept contentType
           
 AttributeConcept lastModified
           
 AttributeConcept length
           
 AttributeConcept url
           
 
Fields inherited from class org.media.mn8.Concept
_conceptLabel, _isHidden, _resourceURI, _showEmpty
 
Constructor Summary
FileConcept()
           
FileConcept(String url)
           
 
Method Summary
 LogicalConcept canRead()
           
 LogicalConcept canWrite()
           
 Object clone()
           
 FileConcept create(StringConcept url)
           
 LogicalConcept delete()
           
 LogicalConcept exists()
           
 ConceptDefinition getConceptDefinition()
           
 Concept getContent()
           
 SeriesConcept getLinks()
           
 LogicalConcept isFile()
           
 LogicalConcept isHidden()
           
 LogicalConcept mkdir()
           
protected  LogicalConcept readContent()
           
 LogicalConcept rename(StringConcept dest)
           
 LogicalConcept setContent(Concept value)
           
 LogicalConcept setReadOnly()
           
protected  LogicalConcept writeContent()
           
 
Methods inherited from class org.media.mn8.JavaConcept
create, equals, equals, opEQ, toTXT, toXML
 
Methods inherited from class org.media.mn8.Concept
areThereMoreElemenents, cloneConcept, extendsConcept, getAllInheritedConcepts, getAttributeValue, getConceptAttribute, getConceptAttribute, getConceptAttributeField, getConceptAttributeField, getConceptAttributeFields, getConceptAttributes, getConceptConstructors, getConceptElement, getConceptElement, getConceptElementField, getConceptElementFields, getConceptElements, getConceptInstance, getConceptLabel, getConceptMethod, getConceptMethods, getConceptNamed, getConceptOperators, getConceptsAtPath, getConceptsAtPath, getConceptType, getErrorHandler, getInheritedConcepts, getMeAllElements, getResourceURI, hasConceptAttribute, hasConceptAttribute, hasConceptElement, hasConceptElement, hasConceptMethod, hasPath, hasPath, loadContent, printFields, printFields, searchDeeperForPath, searchSubElements, setConceptLabel, setErrorHandler, setHidden, setResourceURI, setShowEmpty, showEmpty, subAttributeGetConcept, subAttributeHasPath, subElementGetConcepts, subElementHasPath
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_fileUrl

protected String _fileUrl

_file

protected File _file

url

public AttributeConcept url

length

public AttributeConcept length

contentType

public AttributeConcept contentType

lastModified

public AttributeConcept lastModified

content

public ElementConcept content
Constructor Detail

FileConcept

public FileConcept()

FileConcept

public FileConcept(String url)
Method Detail

create

public FileConcept create(StringConcept url)

getConceptDefinition

public ConceptDefinition getConceptDefinition()
Overrides:
getConceptDefinition in class JavaConcept

exists

public LogicalConcept exists()

delete

public LogicalConcept delete()

canRead

public LogicalConcept canRead()

canWrite

public LogicalConcept canWrite()

isFile

public LogicalConcept isFile()

mkdir

public LogicalConcept mkdir()

isHidden

public LogicalConcept isHidden()
Overrides:
isHidden in class Concept

setReadOnly

public LogicalConcept setReadOnly()

rename

public LogicalConcept rename(StringConcept dest)

getLinks

public SeriesConcept getLinks()

getContent

public Concept getContent()

setContent

public LogicalConcept setContent(Concept value)

readContent

protected LogicalConcept readContent()

writeContent

protected LogicalConcept writeContent()

clone

public Object clone()
Overrides:
clone in class JavaConcept


"Copyright © 2000-2002 Internet Multicasting Services, media.org & noLimits Technologies. All Rights Reserved."