org.wso2.extension.siddhi.io.file:siddhi-io-file

WSO2 is an open source application development software company focused on providing service-oriented architecture solutions for professional developers.

License

License

Categories

Categories

Siddhi Business Logic Libraries Machine Learning
GroupId

GroupId

org.wso2.extension.siddhi.io.file
ArtifactId

ArtifactId

siddhi-io-file
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

bundle
Description

Description

WSO2 is an open source application development software company focused on providing service-oriented architecture solutions for professional developers.
Project Organization

Project Organization

WSO2

Download siddhi-io-file

Dependencies

compile (7)

Group / Artifact Type Version
org.wso2.transport.file : org.wso2.transport.file jar 6.0.52
org.wso2.transport.file : org.wso2.transport.remote-file-system jar 6.0.52
org.wso2.siddhi : siddhi-query-compiler jar 4.4.8
org.wso2.siddhi : siddhi-core jar 4.4.8
org.wso2.siddhi : siddhi-annotations jar 4.4.8
org.apache.commons.wso2 » commons-vfs2 jar 2.0-wso2v15
commons-io : commons-io jar 2.5

test (5)

Group / Artifact Type Version
org.wso2.extension.siddhi.map.xml : siddhi-map-xml jar 4.0.18
org.wso2.extension.siddhi.map.json : siddhi-map-json jar 4.0.31
org.wso2.extension.siddhi.map.text : siddhi-map-text jar 1.0.22
org.wso2.extension.siddhi.map.csv : siddhi-map-csv jar 1.0.12
org.testng : testng jar 6.8

Project Modules

There are no modules declared in this project.

Siddhi IO File

Jenkins Build Status GitHub Release GitHub Release Date GitHub Open Issues GitHub Last Commit License

The siddhi-io-file extension is an extension to Siddhi which used to receive/publish event data from/to file. It supports both binary and text formats.

For information on Siddhi and it's features refer Siddhi Documentation.

Download

  • Versions 5.x and above with group id io.siddhi.extension.* from here.
  • Versions 4.x and lower with group id org.wso2.extension.siddhi.* from here.

Latest API Docs

Latest API Docs is 2.0.16.

Features

  • isDirectory (Function)

    This function checks for a given file path points to a directory

  • isExist (Function)

    This function checks whether a file or a folder exists in a given path

  • isFile (Function)

    This function checks for a given file path points to a file

  • lastModifiedTime (Function)

    Checks for the last modified time for a given file path

  • size (Function)

    This function checks for a given file's size

  • archive (Stream Function)

    Archives files and folders as a zip or in tar format that are available in the given file uri.

  • copy (Stream Function)

    This function performs copying file from one directory to another.

  • create (Stream Function)

    Create a file or a folder in the given location

  • delete (Stream Function)

    Deletes file/files in a particular path

  • move (Stream Function)

    This function performs copying file from one directory to another.

  • search (Stream Function)

    Searches files in a given folder and lists.

  • searchInArchive (Stream Function)

    This.

  • unarchive (Stream Function)

    This function decompresses a given file

  • file (Sink)

    The File Sink component of the 'siddhi-io-fie' extension publishes (writes) event data that is processed within Siddhi to files.
    Siddhi-io-file sink provides support to write both textual and binary data into files

  • file (Source)

    The File Source component of the 'siddhi-io-fie' extension allows you to receive the input data to be processed by Siddhi via files. Both text files and binary files are supported.

  • fileeventlistener (Source)

    The 'fileeventlistener' component of the 'siddhi-io-fie' extension allows you to get the details of files that have been created, modified or deleted during execution time.Supports listening to local folder/file paths.

Dependencies

There are no other dependencies needed for this extension.

Installation

For installing this extension and to add the dependent jars on various siddhi execution environments refer Siddhi documentation section on adding extensions and jars.

Support and Contribution

  • We encourage users to ask questions and get support via StackOverflow, make sure to add the siddhi tag to the issue for better response.

  • If you find any issues related to the extension please report them on the issue tracker.

  • For production support and other contribution related information refer Siddhi Community documentation.

org.wso2.extension.siddhi.io.file

WSO2 Extensions

Versions

Version
1.1.0
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
1.0.0-M12
1.0.0-M11
1.0.0-M10
1.0.0-M9
1.0.0-M8
1.0.0-M7