Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/site/markdown/fileselectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ title: File Selectors

# File Selectors

A file selector is a plexus component, which allows to select certain files out of a given set. For example, the [Plexus Archiver](http://plexus.codehaus.org/plexus-archiver) uses file selectors to select the files being archived out of a base directory. Its counterpart, the Plexus Unarchiver allows to restrict the files to unarchive.
A file selector is a plexus component, which allows to select certain files out of a given set. For example, the [Plexus Archiver](https://codehaus-plexus.github.io/plexus-archiver/) uses file selectors to select the files being archived out of a base directory. Its counterpart, the Plexus Unarchiver allows to restrict the files to unarchive.

File mappers are implementing the interface [FileSelector](./apidocs/org/codehaus/plexus/components/io/fileselectors/FileSelector.html).
File selectors are implementing the interface [FileSelector](./apidocs/org/codehaus/plexus/components/io/fileselectors/FileSelector.html).

Available file selectors are

Expand All @@ -27,12 +27,12 @@ The selector for all files uses the role hints "all", or "default".

## <a id="Standard_File_Selector"></a>Standard File Selector

The [standard file selector](./apidocs/org/codehaus/plexus/components/io/fileselectors/IncludeExcludeFileSelector) selects files based on include/exclude patterns.
The [standard file selector](./apidocs/org/codehaus/plexus/components/io/fileselectors/IncludeExcludeFileSelector.html) selects files based on include/exclude patterns.

A configuration snippet for using the standard file selector would look like this:

```
<fileSelector implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
<fileSelector implementation="org.codehaus.plexus.components.io.fileselectors.IncludeExcludeFileSelector">
<includes>
<include>**/*.gif</include>
<include>**/*.png</include>
Expand Down
4 changes: 2 additions & 2 deletions src/site/markdown/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ title: Introduction

# Plexus IO

Plexus IO is a set of plexus components, which are designed for use in I/O operations. These I/O operations are doing nothing spectacular. For example, [Commons IO](http://jakarta.apache.org/commons/io) is a much more powerful library in the same area. However, the implementation as a plexus component allows reuse in Maven.
Plexus IO is a set of plexus components, which are designed for use in I/O operations. These I/O operations are doing nothing spectacular. For example, [Commons IO](https://commons.apache.org/proper/commons-io/) is a much more powerful library in the same area. However, the implementation as a plexus component allows reuse in Maven.

The following component groups are currently available:

- [File Mappers](./filemappers.html)
- [File Selectors](./fileselectors.html)

Plexus IO components are typically very simple components, who could very well live as part of the [Plexus Utils](http://plexus.codehaus.org/plexus-utils). They do not, because Plexus Utils is a dependency of the [Plexus Component API](http://plexus.codehaus.org/plexus-containers/plexus-container-default), which is in turn a dependency of the Plexus IO test suite (of course, a Plexus container is required to test components, even if they are POJO's). In other words, Plexus Utils cannot contain components, because that would introduce a circular dependency.
Plexus IO components are typically very simple components, who could very well live as part of the [Plexus Utils](https://codehaus-plexus.github.io/plexus-utils/). They do not, because Plexus Utils is a dependency of the [Plexus Component API](https://codehaus-plexus.github.io/plexus-containers/plexus-container-default/), which is in turn a dependency of the Plexus IO test suite (of course, a Plexus container is required to test components, even if they are POJO's). In other words, Plexus Utils cannot contain components, because that would introduce a circular dependency.
1 change: 0 additions & 1 deletion src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<item name="File Mappers" href="filemappers.html"/>
<item name="File Selectors" href="fileselectors.html"/>
<item name="JavaDocs" href="apidocs/index.html"/>
<!--item name="FAQ" href="faq.html"/-->
</menu>

<menu ref="parent"/>
Expand Down
Loading