Class UtilsFTP


  • public final class UtilsFTP
    extends java.lang.Object

    Utilities 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.String FTP_SCHEME
      Constant attribute that represents the representation string of the scheme http.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isUriOfSchemeFTP​(java.lang.String uriString)
      This method determines whether a given URI scheme is FTP.
      static boolean isUriOfSchemeFTP​(java.net.URI uri)
      This method determines whether a given URI scheme is FTP.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.