public static List < FileInfo > fromItemInfos ( PathCodec pathCodec , List < GoogleCloudStorageItemInfo > itemInfos ) { List < FileInfo > fileInfos = new ArrayList <> ( itemInfos . size ( ) ) ; for ( GoogleCloudStorageItemInfo itemInfo : itemInfos ) { fileInfos . add ( fromItemInfo ( pathCodec , itemInfo ) ) ; } return fileInfos ; }
Handy factory method for constructing a list of FileInfo from a list of GoogleCloudStorageItemInfo .