Package ro.sync.ecss.extensions.commons
Class ObjectChooser
- java.lang.Object
-
- ro.sync.ecss.extensions.commons.ObjectChooser
-
- Direct Known Subclasses:
ImageFileChooser
,MediaFileChooser
@API(type=INTERNAL, src=PUBLIC) public abstract class ObjectChooser extends java.lang.Object
Base class for choosers dialogs.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]
ALLOWED_IMAGE_EXTENSIONS
All the allowed extensions for an image.
-
Constructor Summary
Constructors Constructor Description ObjectChooser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
makeUrlRelative(AuthorAccess authorAccess, java.lang.String url)
Makes the given URL relative to the XML whose access object we are given.
-
-
-
Method Detail
-
makeUrlRelative
public static java.lang.String makeUrlRelative(AuthorAccess authorAccess, java.lang.String url)
Makes the given URL relative to the XML whose access object we are given.- Parameters:
authorAccess
- The author access of the XML document.url
- The url.- Returns:
- The relative URL.
-
-