Package es.gob.afirma.tsl.utils
Class UtilsFTP
- java.lang.Object
-
- es.gob.afirma.tsl.utils.UtilsFTP
-
public final class UtilsFTP extends java.lang.ObjectUtilities class relating to connections and FTP/S protocol.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.0, 18/11/2020.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFTP_SCHEMEConstant attribute that represents the representation string of the scheme http.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisUriOfSchemeFTP(java.lang.String uriString)This method determines whether a given URI scheme is FTP.static booleanisUriOfSchemeFTP(java.net.URI uri)This method determines whether a given URI scheme is FTP.
-
-
-
Field Detail
-
FTP_SCHEME
public static final java.lang.String FTP_SCHEME
Constant attribute that represents the representation string of the scheme http.- See Also:
- Constant Field Values
-
-
Method Detail
-
isUriOfSchemeFTP
public static boolean isUriOfSchemeFTP(java.lang.String uriString)
This method determines whether a given URI scheme is FTP.- Parameters:
uriString- String representation of the URI to analyze.- Returns:
- true if the scheme of the URI is FTP, otherwise false.
-
isUriOfSchemeFTP
public static boolean isUriOfSchemeFTP(java.net.URI uri)
This method determines whether a given URI scheme is FTP.- Parameters:
uri- Representation of the URI to analyze.- Returns:
- true if the scheme of the URI is FTP, otherwise false.
-
-