GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
FILE_RESOURCE_LOCATOR
+
Point of view
All features
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
RECYCLING_POOL
URL_VALIDITY
URL
FILE_PROTOCOL
All features
class FILE_RESOURCE_LOCATOR
Summary
top
A
"file:"
URL
Direct parents
Inherit list:
RESOURCE_LOCATOR
Overview
top
Creation features
set_uri
(a_uri:
STRING
)
Features
path
:
STRING
set_uri
(a_uri:
STRING
)
normalized_uri
(a_uri:
STRING
):
STRING
uri
:
STRING
valid_uri
(a_uri:
STRING
):
BOOLEAN
URL
data:
absolute_uri
(a_uri:
STRING
):
BOOLEAN
set_relative
(a_uri:
STRING
)
string_pool
:
STRING_RECYCLING_POOL
notation
:
UNIX_DIRECTORY_NOTATION
recycle
Do whatever needs to be done to free resources or recycle other objects when recycling this one
is_equal
(other: FILE_RESOURCE_LOCATOR):
BOOLEAN
Is
other
attached to an object considered equal to current object?
URL
data:
relative_uri
(a_uri:
STRING
):
BOOLEAN
path
:
STRING
effective function
top
set_uri
(a_uri:
STRING
)
effective procedure
top
normalized_uri
(a_uri:
STRING
):
STRING
effective function
top
uri
:
STRING
writable attribute
top
valid_uri
(a_uri:
STRING
):
BOOLEAN
effective function
top
absolute_uri
(a_uri:
STRING
):
BOOLEAN
effective function
top
require
valid_uri(a_uri)
set_relative
(a_uri:
STRING
)
effective procedure
top
require
relative_uri(a_uri)
string_pool
:
STRING_RECYCLING_POOL
once function
top
notation
:
UNIX_DIRECTORY_NOTATION
once function
top
recycle
effective procedure
top
Do whatever needs to be done to free resources or recycle other objects when recycling this one
is_equal
(other: FILE_RESOURCE_LOCATOR):
BOOLEAN
effective function
top
Is
other
attached to an object considered equal to current object?
require
other /= Void
ensure
commutative:
generating_type = other.generating_type implies Result = other.is_equal(Current)
relative_uri
(a_uri:
STRING
):
BOOLEAN
effective function
top
require
valid_uri
(a_uri)